usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET
authorDavid Mosberger-Tang <davidm@egauge.net>
Thu, 19 Jun 2014 18:57:28 +0000 (12:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:06:35 +0000 (16:06 -0700)
Signed-off-by: David Mosberger <davidm@egauge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/max3421-hcd.c

index f8ecd7d7212d28e5ea65afbc5f387fc67e21f952..6dbf1e9c137c9403212fb6a070fbbe5f108dd156 100644 (file)
@@ -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;