commit | b00663124c76f69e71d118d778842471e85c6f11 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Feb 06 02:36:35 2016 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 08 15:22:04 2016 +0100 |
tree | a3fc4c22c8cd254ff3d8f4dfdc0382fd663d3f15 | |
parent | 2df9d58fcc0f20d812f390e0b97df69d70d3152f [diff] |
mmc: mmc_spi: add checks for dma mapping error There is no checks for dma mapping errors in mmc_spi. Tha patch fixes that and by the way it adds dma_unmap_single(ones_dma) that was left on a failure path mmc_spi_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>