Skip to content
Commit 7ac02036 authored by Peng Fan's avatar Peng Fan Committed by Ulf Hansson
Browse files

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: d1e49f77

 ("mmc: sdhci: convert ADMA descriptors to a...")
Signed-off-by: default avatarPeng Fan <van.freenix@gmail.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 5027cd1e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment