diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2015-11-05 18:21:39 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-12-22 13:32:04 +0300 |
commit | 1ff2575bcf42caefaaab8e2fb00e238852fac8e2 (patch) | |
tree | f8c38447733fc89d6fdb0ceef3275526b7a09e09 /scripts/gdb/linux/utils.py | |
parent | 8dede18e2e86c8e272cd74e66b0e86872cbe7e02 (diff) | |
download | linux-1ff2575bcf42caefaaab8e2fb00e238852fac8e2.tar.xz |
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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions