omap_hsmmc: Do not expect cmd/data to be non-null when CC/TC occurs
commita8fe29d8bcdfbf85ba26c7f3522c4bdfbc83e71d
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Wed, 8 Apr 2009 08:18:32 +0000 (8 11:18 +0300)
committerPierre Ossman <pierre@ossman.eu>
Wed, 8 Apr 2009 18:43:38 +0000 (8 20:43 +0200)
tree1a70e1da0502a26b9c0544c84acf026975b49922
parentd31f65e8464927f2cfdee6b0b01b9e3a8ce5db9c
omap_hsmmc: Do not expect cmd/data to be non-null when CC/TC occurs

With spurious interrupt cmd can be null even when we have CC
set in irq status.

Fixes: NB#106295 - prevent potential kernel crash in the MMC driver

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/omap_hsmmc.c