Re: [RFC 2/8] cpufreq: imx6q: Fix handling EPROBE_DEFER from regulator

2017-03-22 Thread Viresh Kumar
On 22-03-17, 18:53, Leonard Crestez wrote: > From: Irina Tirdea > > If there are any errors in getting the cpu0 regulators, the driver returns > -ENOENT. In case the regulators are not yet available, the devm_regulator_get > calls will return -EPROBE_DEFER, so that the driver can be probed later.

[RFC 2/8] cpufreq: imx6q: Fix handling EPROBE_DEFER from regulator

2017-03-22 Thread Leonard Crestez
From: Irina Tirdea If there are any errors in getting the cpu0 regulators, the driver returns -ENOENT. In case the regulators are not yet available, the devm_regulator_get calls will return -EPROBE_DEFER, so that the driver can be probed later. If we return -ENOENT, the driver will fail its initi