Ulf Hansson 1ff2575bcf mmc: core: Check for non-removable cards earlier in the error path
_mmc_detect_card_removed() validates that the card is removable, but when
being called via the bus_ops ->detect() callbacks, the validation is
redundant as it's already done in mmc_rescan().

Move the validation of a removable card to the mmc_detect_card_removed()
API, which is where it's applicable, to allow the blk error recovery path
to get the response a bit earlier.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2015-12-22 11:32:04 +01:00
..
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00
2014-05-12 18:05:53 -04:00
2015-10-26 16:00:09 +01:00
2015-10-26 16:00:09 +01:00