linux-stable/drivers/mmc
Wenchao Chen 28c9222e29 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
commit 8abf77c889 upstream.

Some eMMC devices that do not close the auto clk gate after hw reset will
cause eMMC initialization to fail. Let's fix this.

Signed-off-by: Wenchao Chen <wenchao.chen@unisoc.com>
Fixes: ff874dbc4f ("mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K")
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231204064934.21236-1-wenchao.chen@unisoc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-10 17:10:36 +01:00
..
core mmc: core: Cancel delayed work before releasing host 2024-01-10 17:10:36 +01:00
host mmc: sdhci-sprd: Fix eMMC init failure after hw reset 2024-01-10 17:10:36 +01:00
Kconfig
Makefile