Loading
mmc: sdhci-sprd: Fix eMMC init failure after hw reset
stable inclusion from stable-v5.10.208 commit ae64985e0e9c5de50d54c51105144aa1475dfe18 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9T22K Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ae64985e0e9c5de50d54c51105144aa1475dfe18 -------------------------------- commit 8abf77c88929b6d20fa4f9928b18d6448d64e293 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: ff874dbc ("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> Signed-off-by:
sanglipeng1 <sanglipeng1@jd.com>