Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions drivers/mmc/host/bcm2835-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,14 @@ static void bcm2835_mmc_send_command(struct bcm2835_host *host, struct mmc_comma

while (bcm2835_mmc_readl(host, SDHCI_PRESENT_STATE) & mask) {
if (timeout == 0) {
pr_err("%s: Controller never released inhibit bit(s).\n",
mmc_hostname(host->mmc));
/*
* The first command after power-up can find the SDIO
* controller still busy. The core retries it, so warn
* once and keep a later failure in the log.
*/
dev_warn_once(mmc_dev(host->mmc),
"%s: Controller never released inhibit bit(s).\n",
mmc_hostname(host->mmc));
bcm2835_mmc_dumpregs(host);
cmd->error = -EIO;
tasklet_schedule(&host->finish_tasklet);
Expand Down