Hello,
Recently new check was added to core.c function mmc_rescan():
if (host->bus_ops && host->bus_ops->detect && !host->bus_dead
&& mmc_card_is_removable(host)) <<<< This one
host->bus_ops->detect(host);
mmc_card_is_removable() is checking
!(host->caps & MMC_CAP_NONREMOVABLE) && mmc_assume_removable;
If we use CONFIG_MMC_UNSAFE_RESUME then
mmc_assume_removable will be 0 and any card will be always considered
as non-removable. And host->bus_ops->detect() will not be called on card
removal.
Am I missing something?
Thanks,
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html