Searched hist:"770 d7432" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 770d7432 Fri May 06 04:14:11 CDT 2011 Adrian Hunter <adrian.hunter@nokia.com> 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> 770d7432 Fri May 06 04:14:11 CDT 2011 Adrian Hunter <adrian.hunter@nokia.com> 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>
|