Re: [PATCH] cdc_ncm: update specs URL

2015-07-11 Thread David Miller
From: Enrico Mioso Date: Sat, 11 Jul 2015 17:30:01 +0200 > Update referenced specs link to reflect actual file version and location. > > Signed-off-by: Enrico Mioso Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vg

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-11 Thread Felipe Balbi
Hi, On Sat, Jul 11, 2015 at 05:17:32PM +, Subbaraya Sundeep Bhatta wrote: > > > >> Hi Felipe, > > > >> > > > >> Just an update on this. > > > >> > > > >> I'm trying to get this working with our latest IP with dwc3 from > > > >> your testing/next branch. It fails the usbtest with a problem > >

Re: detect what type of USB it is connected to

2015-07-11 Thread Alan Stern
On Sat, 11 Jul 2015, James wrote: > I have an external drive that has an activity LED. > It would be nice if it told me if it was connected to a USB2 or USB3 port. > Is it possible for devices to know what they are connected to? How would you expect the drive to tell you what sort of port it is

detect what type of USB it is connected to

2015-07-11 Thread James
I have an external drive that has an activity LED. It would be nice if it told me if it was connected to a USB2 or USB3 port. Is it possible for devices to know what they are connected to? -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord..

[PATCH] cdc_ncm: update specs URL

2015-07-11 Thread Enrico Mioso
Update referenced specs link to reflect actual file version and location. Signed-off-by: Enrico Mioso --- drivers/net/usb/cdc_ncm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 1991e4a..db40175 100644 --- a/driver

[PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-07-11 Thread AMAN DEEP
There is a race condition between finish_unlinks->finish_urb() function and usb_kill_urb() in ohci controller case. The finish_urb calls spin_unlock(&ohci->lock) before usb_hcd_giveback_urb() function call, then if during this time, usb_kill_urb is called for another endpoint, then new ed wil