Browse Source

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>
David Mosberger-Tang 11 years ago
parent
commit
a2b63cb52f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/usb/host/max3421-hcd.c

+ 1 - 0
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 |
 	max3421_hcd->port_status &= ~(USB_PORT_STAT_ENABLE |
 				      USB_PORT_STAT_LOW_SPEED);
 				      USB_PORT_STAT_LOW_SPEED);
+	max3421_hcd->port_status |= USB_PORT_STAT_RESET;
 	set_bit(RESET_PORT, &max3421_hcd->todo);
 	set_bit(RESET_PORT, &max3421_hcd->todo);
 	wake_up_process(max3421_hcd->spi_thread);
 	wake_up_process(max3421_hcd->spi_thread);
 	return 0;
 	return 0;