Skip to content
Commit 20a0c37e authored by Yuanjie Yang's avatar Yuanjie Yang Committed by Ulf Hansson
Browse files

mmc: sdhci-msm: Correctly set the load for the regulator



Qualcomm regulator supports two power supply modes: HPM and LPM.
Currently, the sdhci-msm.c driver does not set the load to adjust
the current for eMMC and SD. If the regulator dont't set correct
load in LPM state, it will lead to the inability to properly
initialize eMMC and SD.

Set the correct regulator current for eMMC and SD to ensure that the
device can work normally even when the regulator is in LPM.

Signed-off-by: default avatarYuanjie Yang <quic_yuanjiey@quicinc.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20250114083514.258379-1-quic_yuanjiey@quicinc.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 1931cd76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment