]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: ad7192: add DVdd regulator
authorEva Rachel Retuya <eraretuya@gmail.com>
Mon, 31 Oct 2016 17:04:32 +0000 (01:04 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Nov 2016 16:20:59 +0000 (16:20 +0000)
commitc69760157e9ba526bbdba66a52f2028cc88b2a5b
tree7234b8abe1f9282ad1292176de973f4be28e12ac
parent448912989ded1c1b37ed5f211ee5705fbb8c9fae
staging: iio: ad7192: add DVdd regulator

The AD7190/AD7192/AD7193/AD7195 is supplied with two power sources:
AVdd as analog supply voltage and DVdd as digital supply voltage.

Attempt to fetch and enable the regulator 'dvdd'. Bail out if any error
occurs.

Suggested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7192.c