Re: [PATCH] USB: Fix duplicate sysfs problem after device reset.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 05, 2010 at 06:16:03PM -0500, Alan Stern wrote:
> On Tue, 5 Jan 2010, Sarah Sharp wrote:
> 
> > The solution is to not set intf->cur_altsetting before calling
> > usb_set_interface() in usb_reset_and_verify_device().  Instead, we add a
> > new flag to struct usb_interface to tell usb_hcd_alloc_bandwidth() to use
> > alternate setting 0 as the currently installed alternate setting.
> 
> This is okay for now.  But at some point in the future, when we move 
> bandwidth allocation for UHCI, OHCI, and EHCI into usbcore, it will 
> have to be changed.

True.  Let's cross that bridge when we get to it.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux