linux/drivers/mmc/core
Ulf Hansson 99b4ddd8b7 mmc: core: Drop check for mmc_card_is_removable() in mmc_rescan()
Upfront in mmc_rescan() we use the host->rescan_entered flag, to allow
scanning only once for non-removable cards. Therefore, it's also not
possible that we can have a corresponding card bus attached (host->bus_ops
is NULL), when we are scanning non-removable cards.

For this reason, let' drop the check for mmc_card_is_removable() as it's
redundant.

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2019-11-14 16:28:56 +01:00
..
block.c mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response 2019-11-13 16:10:16 +01:00
block.h
bus.c
bus.h
card.h
core.c mmc: core: Drop check for mmc_card_is_removable() in mmc_rescan() 2019-11-14 16:28:56 +01:00
core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
debugfs.c
host.c
host.h
Kconfig
Makefile
mmc.c
mmc_ops.c Revert "mmc: core: do not retry CMD6 in __mmc_switch()" 2019-09-03 16:53:28 +02:00
mmc_ops.h
mmc_test.c
pwrseq.c
pwrseq.h
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c
queue.c mmc: queue: Fix bigger segments usage 2019-09-12 13:14:09 +01:00
queue.h
quirks.h
regulator.c
sd.c
sd.h
sd_ops.c
sd_ops.h
sdio.c mmc: core: Fixup processing of SDIO IRQs during system suspend/resume 2019-09-11 16:10:19 +02:00
sdio_bus.c
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: core: Fixup processing of SDIO IRQs during system suspend/resume 2019-09-11 16:10:19 +02:00
sdio_ops.c
sdio_ops.h
sdio_uart.c
slot-gpio.c
slot-gpio.h