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

2019-01-13 Thread Paweł Chmiel
On niedziela, 13 stycznia 2019 14:16:24 CET Krzysztof Kozlowski wrote: > On Fri, Jan 11, 2019 at 08:42:44PM +0100, 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 ini

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

2019-01-13 Thread Krzysztof Kozlowski
On Fri, Jan 11, 2019 at 08:42:44PM +0100, 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 m

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

2019-01-11 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