diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2011-05-06 11:14:11 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-21 16:35:04 +0200 |
commit | 770d7432009c8bc89cf72d47313866adf600c66a (patch) | |
tree | bfd5ec0bff4f022e8fd713e8b61bcf4bb04f901f /drivers/pci | |
parent | mmc: omap_hsmmc: refactor duplicated code (diff) | |
download | linux-770d7432009c8bc89cf72d47313866adf600c66a.tar.xz linux-770d7432009c8bc89cf72d47313866adf600c66a.zip |
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions