summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/powernow-k6.c
diff options
context:
space:
mode:
authorPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>2019-01-13 20:57:54 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2019-02-07 05:31:51 +0100
commite0e5b2b4f427cf6f403c6edfb52ce2b0e3acae23 (patch)
treee9244fa832efec928be53795a9d4a3831f4d9db7 /drivers/cpufreq/powernow-k6.c
parentMAINTAINERS: use common indentation (diff)
downloadlinux-e0e5b2b4f427cf6f403c6edfb52ce2b0e3acae23.tar.xz
linux-e0e5b2b4f427cf6f403c6edfb52ce2b0e3acae23.zip
cpufreq: s5pv210: Defer probe if getting regulators fail
There is possibility, that when probing driver, regulators are not yet initialized. In this case we should return EPROBE_DEFER and wait till they're initialized, since they're required currently for cpufreq driver to work. Also move regulator initialization code at beginning of probe, so we can defer as fast as posibble. Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/powernow-k6.c')
0 files changed, 0 insertions, 0 deletions