diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2016-02-06 02:36:35 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-02-08 17:22:04 +0300 |
commit | b00663124c76f69e71d118d778842471e85c6f11 (patch) | |
tree | a3fc4c22c8cd254ff3d8f4dfdc0382fd663d3f15 /drivers/devfreq | |
parent | 2df9d58fcc0f20d812f390e0b97df69d70d3152f (diff) | |
download | linux-b00663124c76f69e71d118d778842471e85c6f11.tar.xz |
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>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions