diff options
| -rw-r--r-- | drivers/usb/host/ohci-jz4740.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz4740.c index b34315ca6cff..c2c221a332eb 100644 --- a/drivers/usb/host/ohci-jz4740.c +++ b/drivers/usb/host/ohci-jz4740.c | |||
| @@ -85,11 +85,11 @@ static int ohci_jz4740_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, | |||
| 85 | int ret = 0; | 85 | int ret = 0; |
| 86 | 86 | ||
| 87 | switch (typeReq) { | 87 | switch (typeReq) { |
| 88 | case SetHubFeature: | 88 | case SetPortFeature: |
| 89 | if (wValue == USB_PORT_FEAT_POWER) | 89 | if (wValue == USB_PORT_FEAT_POWER) |
| 90 | ret = ohci_jz4740_set_vbus_power(jz4740_ohci, true); | 90 | ret = ohci_jz4740_set_vbus_power(jz4740_ohci, true); |
| 91 | break; | 91 | break; |
| 92 | case ClearHubFeature: | 92 | case ClearPortFeature: |
| 93 | if (wValue == USB_PORT_FEAT_POWER) | 93 | if (wValue == USB_PORT_FEAT_POWER) |
| 94 | ret = ohci_jz4740_set_vbus_power(jz4740_ohci, false); | 94 | ret = ohci_jz4740_set_vbus_power(jz4740_ohci, false); |
| 95 | break; | 95 | break; |
