commit | 770d7432009c8bc89cf72d47313866adf600c66a | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@nokia.com> | Fri May 06 12:14:11 2011 +0300 |
committer | Chris Ball <cjb@laptop.org> | Thu Jul 21 10:35:04 2011 -0400 |
tree | bfd5ec0bff4f022e8fd713e8b61bcf4bb04f901f | |
parent | 3796fb8ac40920e04ed36e45b1b40d13aec3909d [diff] |
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 <adrian.hunter@nokia.com> Signed-off-by: Chris Ball <cjb@laptop.org>