aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-11-05 16:08:07 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-12-22 11:32:02 +0100
commit86236813ff23e0e8afc6844d307fb84df98f6723 (patch)
treefdb9d37a96f9f09b6454207f42f369ad80b83aa4 /include/linux/mmc
parentmmc: omap_hsmmc: No need to check DMA channel validity at module remove (diff)
downloadlinux-dev-86236813ff23e0e8afc6844d307fb84df98f6723.tar.xz
linux-dev-86236813ff23e0e8afc6844d307fb84df98f6723.zip
mmc: core: Invoke ->card_event() callback only when needed
The ->card_event() callback may be called when re-scan is disabled and for non-removable cards, which both cases are unnecessary. Instead let's move the call later in mmc_rescan() where these constraints have been validated. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
0 files changed, 0 insertions, 0 deletions