Re: [linux-usb-devel] [PATCH] USB Core hub.c: prevent re-enumeration on HNP

2007-05-25 Thread David Brownell
On Friday 25 May 2007, Greg KH wrote: Ditto.  Greg, it'd be nice to see this in 2.6.22 if possible; there's a bunch of recent work on OTG hardware, and it'd be nice if folk doing that work only had to carry around driver patches, not usbcore patches. Ok, care to send it to me with

Re: [linux-usb-devel] [PATCH] USB Core hub.c: prevent re-enumeration on HNP

2007-05-23 Thread Pandita, Vikram
-Original Message- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 7:45 PM To: Pandita, Vikram Cc: David Brownell; USB development list Subject: RE: [linux-usb-devel] [PATCH] USB Core hub.c On Tue, 22 May 2007, Pandita, Vikram wrote: From: Alan Stern [mailto

Re: [linux-usb-devel] [PATCH] USB Core hub.c: prevent re-enumeration on HNP

2007-05-23 Thread Alan Stern
On Wed, 23 May 2007, Pandita, Vikram wrote: New proposed patch based on your inputs: Patch is to prevent the OTG host of doing 3 times enumeration of device when the Host suspends for HNP. The error code used in this case is ENOTSUPP. Signed-off-by: Vikram Pandita [EMAIL PROTECTED] ---

Re: [linux-usb-devel] [PATCH] USB Core hub.c: prevent re-enumeration on HNP

2007-05-23 Thread David Brownell
On Wednesday 23 May 2007, Alan Stern wrote: On Wed, 23 May 2007, Pandita, Vikram wrote: New proposed patch based on your inputs: Patch is to prevent the OTG host of doing 3 times enumeration of device when the Host suspends for HNP. The error code used in this case is ENOTSUPP.

Re: [linux-usb-devel] [PATCH] USB Core hub.c

2007-05-22 Thread Alan Stern
On Tue, 22 May 2007, Pandita, Vikram wrote: From: Alan Stern [mailto:[EMAIL PROTECTED] On Mon, 21 May 2007, David Brownell wrote: On Monday 21 May 2007, Vikram Pandita wrote: --- diff -purN -X ./dontdiff a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c ---

Re: [linux-usb-devel] [PATCH] USB Core hub.c

2007-05-21 Thread David Brownell
On Monday 21 May 2007, you wrote: Hi David Can you check the following patch that may be needed in hub.c Prevent un-necessary enumeration of 3 times when device is not there. Signed-off-by: Vikram Pandita [EMAIL PROTECTED] Looks sane to me, but this would be better sent to the linux-usb

Re: [linux-usb-devel] [PATCH] USB Core hub.c

2007-05-21 Thread Alan Stern
On Mon, 21 May 2007, David Brownell wrote: On Monday 21 May 2007, you wrote: Hi David Can you check the following patch that may be needed in hub.c Prevent un-necessary enumeration of 3 times when device is not there. Signed-off-by: Vikram Pandita [EMAIL PROTECTED] Looks sane to

Re: [linux-usb-devel] [PATCH] USB Core hub.c

2007-05-21 Thread Pandita, Vikram
From: Alan Stern [mailto:[EMAIL PROTECTED] On Mon, 21 May 2007, David Brownell wrote: On Monday 21 May 2007, Vikram Pandita wrote: --- diff -purN -X ./dontdiff a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c --- a/drivers/usb/core/hub.c2007-05-13 14:24:43.0 +0530 +++