aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-15 12:55:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-17 14:20:23 -0400
commit7b521fcb6bf63a49bb7712d922dd1dd0a90a93cf (patch)
treef3e787c77446aafff7b6b7d50af69067f38908d8
parent610ba42f29c3dfa46a05ff8c2cadc29f544ff76d (diff)
USB: OTG: msm: Allow the widest possible range for VDDCX when removing
When not active the hardware should be able to tolerate voltages within the normal operating range so when removing set the maximum voltage we can use to the maximum rather than minimum of the operating range. This will improve interoperability in case we end up sharing the supply in some design. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/otg/msm_otg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/msm_otg.c b/drivers/usb/otg/msm_otg.c
index 1cdda6c05238..db69b2ac9264 100644
--- a/drivers/usb/otg/msm_otg.c
+++ b/drivers/usb/otg/msm_otg.c
@@ -92,7 +92,7 @@ static int msm_hsusb_init_vddcx(struct msm_otg *motg, int init)
92 } 92 }
93 } else { 93 } else {
94 ret = regulator_set_voltage(hsusb_vddcx, 0, 94 ret = regulator_set_voltage(hsusb_vddcx, 0,
95 USB_PHY_VDD_DIG_VOL_MIN); 95 USB_PHY_VDD_DIG_VOL_MAX);
96 if (ret) { 96 if (ret) {
97 dev_err(motg->otg.dev, "unable to set the voltage " 97 dev_err(motg->otg.dev, "unable to set the voltage "
98 "for hsusb vddcx\n"); 98 "for hsusb vddcx\n");