aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2013-07-02 12:53:01 +0200
committerChris Ball <[email protected]>2013-07-05 12:51:22 -0400
commit203bb5af65d4edaf600d75130438c0c512b05986 (patch)
tree0018cc56c55b591d5ace6f2274d4b6bd3457c6b5 /lib/mpi/mpicoder.c
parent30d025c0f7234409e8ee1bf22d1729055e640ec6 (diff)
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 <[email protected]> Reported-by: Stephen Warren <[email protected]> Reported-by: Tuomas Tynkkynen <[email protected]> Tested-by: Tuomas Tynkkynen <[email protected]> Acked-by: Jaehoon Chung <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions