From: Ulf Hansson Date: Tue, 2 Jul 2013 10:53:01 +0000 (+0200) Subject: mmc: core: Fixup Oops for SDIO shutdown X-Git-Tag: v3.11-rc1~50^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=203bb5af65d4edaf600d75130438c0c512b05986;p=pandora-kernel.git 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 Reported-by: Stephen Warren Reported-by: Tuomas Tynkkynen Tested-by: Tuomas Tynkkynen Acked-by: Jaehoon Chung Signed-off-by: Chris Ball --- Reading git-diff-tree failed