Re: [PATCH] USB: usblp: don't call usb_set_interface if there's a single alt

2021-01-24 Thread Pete Zaitcev
On Sat, 23 Jan 2021 18:21:36 -0600 Jeremy Figgins wrote: > Signed-off-by: Jeremy Figgins > +++ b/drivers/usb/class/usblp.c > + if (usblp->intf->num_altsetting > 1) { Acked-by: Pete Zaitcev I am having some misgivings about it, but let's see if it works. At worst, someone will complain an

[PATCH] USB: usblp: don't call usb_set_interface if there's a single alt

2021-01-23 Thread Jeremy Figgins
Some devices, such as the Winbond Electronics Corp. Virtual Com Port (Vendor=0416, ProdId=5011), lockup when usb_set_interface() or usb_clear_halt() are called. This device has only a single altsetting, so it should not be necessary to call usb_set_interface(). Signed-off-by: Jeremy Figgins --- A