[PATCH v2] mmc: meson: Fix usage of meson_mmc_post_req()

Kevin Hilman khilman at baylibre.com
Fri Feb 18 16:34:12 PST 2022


Rong Chen <rong.chen at amlogic.com> writes:

> 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: Rong Chen <rong.chen at amlogic.com>

Reviewed-by: Kevin Hilman <khilman at baylibre.com>



More information about the linux-arm-kernel mailing list