summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/dw_mmc.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-07-02 12:53:01 +0200
committerChris Ball <cjb@laptop.org>2013-07-05 12:51:22 -0400
commit203bb5af65d4edaf600d75130438c0c512b05986 (patch)
tree0018cc56c55b591d5ace6f2274d4b6bd3457c6b5 /drivers/mmc/host/dw_mmc.h
parent30d025c0f7234409e8ee1bf22d1729055e640ec6 (diff)
downloadlwn-203bb5af65d4edaf600d75130438c0c512b05986.tar.gz
lwn-203bb5af65d4edaf600d75130438c0c512b05986.zip
mmc: core: Fixup Oops for SDIO shutdown
Commit "mmc: core: Handle card shutdown from mmc_bus" introduced an Oops in the shutdown sequence for SDIO. The drv pointer, does not exist for SDIO since the probing of the SDIO card from the mmc_bus perspective is expected to fail by returning -ENODEV. This patch adds the proper check for the pointer before calling it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reported-by: Stephen Warren <swarren@wwwdotorg.org> Reported-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com> Tested-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc.h')
0 files changed, 0 insertions, 0 deletions