diff options
author | Peng Fan <van.freenix@gmail.com> | 2015-06-22 05:41:23 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-07-24 10:18:27 +0200 |
commit | 7ac020366b0a436d726408841160b5dc32c19214 (patch) | |
tree | 5809318d426171c41526b7f9b6edbce26f24ca85 /net | |
parent | mmc: omap_hsmmc: Handle BADA, DEB and CEB interrupts (diff) | |
download | linux-7ac020366b0a436d726408841160b5dc32c19214.tar.xz linux-7ac020366b0a436d726408841160b5dc32c19214.zip |
mmc: sdhci check parameters before call dma_free_coherent
We should not call dma_free_coherent if host->adma_table is NULL,
otherwise may trigger panic.
Fixes: d1e49f77d7c7 ("mmc: sdhci: convert ADMA descriptors to a...")
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions