Re: [PATCH 2/5] cpufreq: imx6q: Fix handling EPROBE_DEFER from regulator

2017-04-04 Thread Lucas Stach
Am Freitag, den 31.03.2017, 22:25 +0300 schrieb 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 drive

[PATCH 2/5] cpufreq: imx6q: Fix handling EPROBE_DEFER from regulator

2017-03-31 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