Re: [PATCH v2 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-11 Thread Paweł Chmiel
pt., 11 sty 2019 o 10:46 Krzysztof Kozlowski napisał(a): > > On Thu, 10 Jan 2019 at 21:53, 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

Re: [PATCH v2 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-11 Thread Krzysztof Kozlowski
On Thu, 10 Jan 2019 at 21:53, 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 regul

[PATCH v2 3/4] cpufreq: s5pv210: Defer probe if getting regulators fail

2019-01-10 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 def