diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-06-02 12:50:41 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 17:58:03 +0400 |
commit | e6021511f11e71d0e77e5c31f5b0722a80c3545c (patch) | |
tree | 8fb50aae9c56a3d11df51acbb953d0fb5ccb392a /block/Makefile | |
parent | df6b3352d88560459d4a4926b36409334332f2cb (diff) | |
download | linux-e6021511f11e71d0e77e5c31f5b0722a80c3545c.tar.xz |
mfd: arizona: Don't use devres for DCVDD
Currently the Arizona core uses a devm_regulator_get against its own
device node to obtain DCVDD. The Arizona core is an MFD device and DCVDD
is usually supplied by a child node (arizona-ldo1) of the core. As
devres destruction for the MFD device will run after all its children
have been destroyed, the regulator will be destroyed before devres
calls regulator_put. This causes a warning from both the destruction of
the child node, as the regulator is still open, and from the put of the
regulator as the regulator device has already been destroyed.
This patch handles the regulator get and put without devres to avoid
this issue.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions