]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: mediatek: Handle sram regulator probe deferral
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 13 Jul 2022 11:15:36 +0000 (13:15 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 13 Jul 2022 11:21:32 +0000 (16:51 +0530)
commit2067dea1ef3461cf8875186df5d964fc67379134
tree926ae0e2a1a6bc3208b0bfe1533c7b5bd822db80
parent3490683cb0a9589196455ecc035b1d249df99e48
cpufreq: mediatek: 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: 9a2c65565ae9 ("cpufreq: mediatek: Make sram regulator optional")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/mediatek-cpufreq.c