[PATCH] usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET

2014-06-19 Thread David Mosberger
From: David Mosberger-Tang 

Signed-off-by: David Mosberger 
---
 drivers/usb/host/max3421-hcd.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c
index f8ecd7d..6dbf1e9 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;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET

2014-06-19 Thread Sergei Shtylyov

Hello.

On 06/19/2014 07:14 AM, David Mosberger wrote:


From: David Mosberger-Tang 



Signed-off-by: Davidm Mosberger 


   Davidm? :-)

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] usb: host: max3421-hcd: Fix max3421_reset_port() to set USB_PORT_STAT_RESET

2014-06-18 Thread David Mosberger
From: David Mosberger-Tang 

Signed-off-by: Davidm Mosberger 
---
 drivers/usb/host/max3421-hcd.c |1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c
index f8ecd7d..6dbf1e9 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;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html