summaryrefslogtreecommitdiffstats
path: root/net/devres.c
diff options
context:
space:
mode:
authorRong Chen <rong.chen@amlogic.com>2022-02-16 20:42:39 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2022-02-28 13:18:12 +0100
commitf0d2f15362f02444c5d7ffd5a5eb03e4aa54b685 (patch)
treee47ed397c3dda001773d9e22570fbb9816f8bc6d /net/devres.c
parent7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3 (diff)
downloadlinux-f0d2f15362f02444c5d7ffd5a5eb03e4aa54b685.tar.bz2
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: Rong Chen <rong.chen@amlogic.com> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Fixes: 79ed05e329c3 ("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: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/devres.c')
0 files changed, 0 insertions, 0 deletions