mmc: usdhi6rol0: Implement card_busy function
authorMårten Lindahl <marten.lindahl@axis.com>
Mon, 16 Aug 2021 14:23:14 +0000 (16:23 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Aug 2021 13:16:08 +0000 (15:16 +0200)
commit4850c225dd0e82c8aff8fe4bddc183c37551ede9
tree7053e429c7ca82162cbe9f1708940daa384bc37b
parentf4ff24f8a7c144e6d2107a2f2d16bcd9e2b2578f
mmc: usdhi6rol0: Implement card_busy function

When switching card voltage to UHS voltage the mmc framework tries to
check the card busy signal, meaning the card pulling DAT0 line low,
before the switch is made. Drivers that does not implement the card_busy
function will manage to do the switch anyway, but the framework will
print a warning about not being able to verify the voltage signal.

Implement card_busy function.

Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>
Link: https://lore.kernel.org/r/20210816142314.1168-1-marten.lindahl@axis.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/usdhi6rol0.c