From: David Mosberger-Tang Date: Thu, 19 Jun 2014 18:57:28 +0000 (-0600) Subject: usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a2b63cb52ff1088fd4c3f7ee883d6a247571a70c;p=deliverable%2Flinux.git usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET Signed-off-by: David Mosberger Signed-off-by: Greg Kroah-Hartman --- 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;