Re: [PATCH v4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-17 Thread Viresh Kumar
On 14-01-19, 08:51, Krzysztof Kozlowski wrote: > On Sun, 13 Jan 2019 at 20:58, Paweł Chmiel > wrote: > > > > 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

Re: [PATCH v4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-13 Thread Krzysztof Kozlowski
On Sun, 13 Jan 2019 at 20:58, Paweł Chmiel wrote: > > 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

[PATCH v4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-13 Thread Paweł Chmiel
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