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
2014-06-19 12:57:28 -06:00
提交者 Greg Kroah-Hartman
父節點 2eb5dbdd12
當前提交 a2b63cb52f

查看文件

@@ -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;