diff options
Diffstat (limited to 'drivers/usb/host/ehci-mx5.c')
| -rw-r--r-- | drivers/usb/host/ehci-mx5.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index 46973b01b..72cde1a92 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -151,11 +151,11 @@ int mxc_set_usbcontrol(int port, unsigned int flags)  			v = __raw_readl(usbother_base +  					MXC_USB_PHY_CTR_FUNC_OFFSET);  			if (flags & MXC_EHCI_POWER_PINS_ENABLED) -				/* OC/USBPWR is not used */ -				v |= MXC_OTG_PHYCTRL_OC_DIS_BIT; -			else  				/* OC/USBPWR is used */  				v &= ~MXC_OTG_PHYCTRL_OC_DIS_BIT; +			else +				/* OC/USBPWR is not used */ +				v |= MXC_OTG_PHYCTRL_OC_DIS_BIT;  			__raw_writel(v, usbother_base +  					MXC_USB_PHY_CTR_FUNC_OFFSET); |