mci: sdhci: atmel: don't print errors on command timeouts
Time outs can be expected, e.g. when probing whether a card is a MMC
one. The core handles it, so don't have the driver print an error.

While at it, simplify the error handling. We don't need to read the
status more than once and returning -EPERM on non-timeout is what the
other drivers are doing.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 238cf33 commit 24b9f9fd445ececb08792e07a8c183a117302afe
@Ahmad Fatoum Ahmad Fatoum authored on 23 Jun 2020
Sascha Hauer committed on 23 Jun 2020
Showing 1 changed file
View
drivers/mci/atmel-sdhci-common.c