]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: mtk-cci: Handle sram regulator probe deferral
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 13 Jul 2022 11:15:11 +0000 (13:15 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 25 Sep 2022 18:59:12 +0000 (03:59 +0900)
commit837686ef3834b59f58df85be48dbb1204d4401d4
tree6d89078b377b2939f4213fb3c7dd0b9d87fd60c7
parent27f9b03c399355c5a93e7f1cf491765f72d4bb7d
PM / devfreq: mtk-cci: Handle sram regulator probe deferral

If the regulator_get_optional() call for the SRAM regulator returns
a probe deferral, we must bail out and retry probing later: failing
to do this will produce unstabilities on platforms requiring the
handling for this regulator.

Fixes: b615b00c42da ("PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/mtk-cci-devfreq.c