Skip to content
Commit f0d2f153 authored by Rong Chen's avatar Rong Chen Committed by Ulf Hansson
Browse files

mmc: meson: Fix usage of meson_mmc_post_req()



Currently meson_mmc_post_req() is called in meson_mmc_request() right
after meson_mmc_start_cmd(). This could lead to DMA unmapping before the request
is actually finished.

To fix, don't call meson_mmc_post_req() until meson_mmc_request_done().

Signed-off-by: default avatarRong Chen <rong.chen@amlogic.com>
Reviewed-by: default avatarKevin Hilman <khilman@baylibre.com>
Fixes: 79ed05e3

 ("mmc: meson-gx: add support for descriptor chain mode")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220216124239.4007667-1-rong.chen@amlogic.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7e57714c
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