Skip to content
Commit 4fa78ba0 authored by Rong Chen's avatar Rong Chen Committed by Greg Kroah-Hartman
Browse files

mmc: meson-gx: Remove setting of CMD_CFG_ERROR

commit 57925e16 upstream.

For the t7 and older SoC families, the CMD_CFG_ERROR has no effect.
Starting from SoC family C3, setting this bit without SG LINK data
address will cause the controller to generate an IRQ and stop working.

To fix it, don't set the bit CMD_CFG_ERROR anymore.

Fixes: 18f92bc0

 ("mmc: meson-gx: make sure the descriptor is stopped on errors")
Signed-off-by: default avatarRong Chen <rong.chen@amlogic.com>
Reviewed-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231026073156.2868310-1-rong.chen@amlogic.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4ae7ca6b
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