diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-01-13 10:53:55 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-02-13 09:29:43 +0000 |
commit | 7e9c40c63933a643908d686bd89dfc2315e8c70a (patch) | |
tree | 0ef088b8bcc08a554810e85d24acacd4a107bd20 /drivers/mfd/qcom-spmi-pmic.c | |
parent | f80e78aa11ad754de20104233af1ce4cea8f16a5 (diff) | |
download | linux-7e9c40c63933a643908d686bd89dfc2315e8c70a.tar.gz linux-7e9c40c63933a643908d686bd89dfc2315e8c70a.tar.bz2 linux-7e9c40c63933a643908d686bd89dfc2315e8c70a.zip |
mfd: ab8500-sysctrl: Handle probe deferral
In the current boot, clients making use of the AB8500 sysctrl
may be probed before the ab8500-sysctrl driver. This gives them
-EINVAL, but should rather give -EPROBE_DEFER.
Before this, the abx500 clock driver didn't probe properly,
and as a result the codec driver in turn using the clocks did
not probe properly. After this patch, everything probes
properly.
Also add OF compatible-string probing. This driver is all
device tree, so let's just make a drive-by-fix of that as
well.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/qcom-spmi-pmic.c')
0 files changed, 0 insertions, 0 deletions