summaryrefslogtreecommitdiffstats
path: root/drivers/usb/otg/otg.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-15 18:55:58 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-17 20:20:23 +0200
commite99c4309fb064604a957d9c1a8d2d4a9ff19cf5e (patch)
treee171895f35ec73bd77f0093f8808440548838fee /drivers/usb/otg/otg.c
parentUSB: OTG: msm: Allow the widest possible range for VDDCX when removing (diff)
downloadlinux-e99c4309fb064604a957d9c1a8d2d4a9ff19cf5e.tar.xz
linux-e99c4309fb064604a957d9c1a8d2d4a9ff19cf5e.zip
USB: OTG: msm: Free VCCCX regulator even if we can't set the voltage
If for some reason we fail to set the voltage range for the VDDCX regulator when removing it's better to still disable and free the regulator as that avoids leaking a reference to it and is likely to ensure that it's turned off completely. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/otg/otg.c')
0 files changed, 0 insertions, 0 deletions