summaryrefslogtreecommitdiff
path: root/drivers/usb/host/max3421-hcd.c
diff options
context:
space:
mode:
authorDavid Mosberger-Tang <davidm@egauge.net>2014-06-19 12:57:28 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 16:06:35 -0700
commita2b63cb52ff1088fd4c3f7ee883d6a247571a70c (patch)
tree6173c7973bea648aaface79a456dd7445c3fd7cc /drivers/usb/host/max3421-hcd.c
parent2eb5dbdd1263a4f014d53501e01b896ac71d3c82 (diff)
usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET
Signed-off-by: David Mosberger <davidm@egauge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/max3421-hcd.c')
-rw-r--r--drivers/usb/host/max3421-hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c
index f8ecd7d7212d..6dbf1e9c137c 100644
--- a/drivers/usb/host/max3421-hcd.c
+++ b/drivers/usb/host/max3421-hcd.c
@@ -1480,6 +1480,7 @@ max3421_reset_port(struct usb_hcd *hcd)
max3421_hcd->port_status &= ~(USB_PORT_STAT_ENABLE |
USB_PORT_STAT_LOW_SPEED);
+ max3421_hcd->port_status |= USB_PORT_STAT_RESET;
set_bit(RESET_PORT, &max3421_hcd->todo);
wake_up_process(max3421_hcd->spi_thread);
return 0;