Searched hist:"6 ee5c04407f59122774c8da26f3ee8d6db9cec9b" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/regulator/ |
H A D | qcom_spmi-regulator.c | diff 6ee5c04407f59122774c8da26f3ee8d6db9cec9b Fri Mar 25 22:35:09 CET 2016 Stephen Boyd <stephen.boyd@linaro.org> regulator: qcom_spmi: Keep trying to add regulators if read fails
On some designs, a handful of the regulators can't be read via SPMI transactions because they're "secure" and not intended to be touched by non-secure processors. This driver unconditionally attempts to read the id registers of all the regulators though, leading to probe failing and no regulators being registered. Let's ignore any errors from failing to read the registers and keep adding other regulators so that this driver can probe on such devices.
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
|