]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP: HSMMC: Fix oops in omap_mmc_remove
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Thu, 6 Nov 2008 14:02:29 +0000 (16:02 +0200)
committerAdrian Hunter <ext-adrian.hunter@nokia.com>
Thu, 27 Nov 2008 08:35:45 +0000 (10:35 +0200)
commit0e9ebf6a224f6cff163432f05bc708511150858d
tree3f637247ef363ff6d139074c9262318067f79af7
parent14ee306d7d5555c75a28e17dccdfbeda5729da17
OMAP: HSMMC: Fix oops in omap_mmc_remove

Do not access host in omap_mmc_remove() if it is null.  This
occurs when module is removed before its platform data is set.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
drivers/mmc/host/omap_hsmmc.c