aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2017-01-13 13:14:12 +0000
committerUlf Hansson <[email protected]>2017-02-13 12:20:23 +0000
commit136b0a471cd41b906dd4e00789cc998632a8cdd7 (patch)
treeb7233e4beba0c222d124dbcb68e9d4a6b7c3f0f1 /drivers/mmc/core/queue.c
parentmmc: core: Remove unused struct _mmc_csd from public mmc.h header (diff)
downloadkernel-136b0a471cd41b906dd4e00789cc998632a8cdd7.tar.gz
kernel-136b0a471cd41b906dd4e00789cc998632a8cdd7.zip
mmc: omap: Don't use mmc_card_present() when validating for inserted card
The mmc_card_present() function helps the mmc core to track an internal state of the card device. More importantly, it's not intended to be used by mmc host drivers to check for an inserted card. Therefore, let's stop using it and instead rely on checking for a valid pointer to a struct mmc_card, as it should be good enough. Cc: [email protected] Cc: Tony Lindgren <[email protected]> Cc: Jarkko Nikula <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Acked-by: Tony Lindgren <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions