diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-29 15:08:34 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-30 22:39:51 +0300 |
commit | b21d3f3452ec3a060c8f576a97adfdd4329b3157 (patch) | |
tree | b049c5869c3ee67158a0a360d0b149c22d7c1cec /arch/um | |
parent | 90e96fdd012925871a1a21b5eaeab4b027682d6a (diff) | |
download | linux-b21d3f3452ec3a060c8f576a97adfdd4329b3157.tar.xz |
iio: magn: ak8975: add Vid regulator
The AK8975 has two power sources: Vdd (analog voltage supply)
and Vid (digital voltage supply). Optionally also obtain the Vid
supply regulator and enable it.
If an error occurs when enabling one of the regulators: bail out.
Cc: Gregor Boirie <gregor.boirie@parrot.com>
Cc: Richard Leitner <dev@g0hl1n.net>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions