From: Adrian Hunter Date: Fri, 6 May 2011 09:14:11 +0000 (+0300) Subject: mmc: omap_hsmmc: fix oops in omap_hsmmc_dma_cb() X-Git-Tag: v3.1-rc1~321^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=770d7432009c8bc89cf72d47313866adf600c66a;p=pandora-kernel.git mmc: omap_hsmmc: fix oops in omap_hsmmc_dma_cb() In the case of an I/O error, the DMA will have been cleaned up in the MMC interrupt and the request structure pointer will be null. In that case, it is essential to check if the DMA is over before dereferencing host->mrq->data. Signed-off-by: Adrian Hunter Signed-off-by: Chris Ball --- Reading git-diff-tree failed