diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-10-03 01:25:24 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-10-04 11:30:26 (GMT) |
commit | 9da64c25ffefa60b969c64176098ae616219f759 (patch) | |
tree | bcc82c4c2b4f495c7e4cda15d46ad52fa1687b6a /drivers/usb/misc | |
parent | 2e3d6675dc2f402d8b799b773324e60af3e2a325 (diff) | |
download | linux-9da64c25ffefa60b969c64176098ae616219f759.tar.xz |
iio: adc: vf610: Disable the regulator on error
If clk_prepare_enable() fails we should disable the regulator that was
previously enabled.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/usb/misc')
0 files changed, 0 insertions, 0 deletions