Re: Composite USB device reset /drivers/usb/core/hub.c - binding order problem

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

 



On Thu, Mar 17, 2016 at 11:09:20AM +0100, Mikolaj Ch wrote:
> Hi,
> 
> I have a composite usb device where order of binding the drivers to
> interfaces matters.

Ugh, really?  That's a horrid device, what is it?

> When the device is plugged in binding is from 0-th till n-th interface
> but in usb_reset_device function in  /drivers/usb/core/hub.c after
> reset binding is done in revers order from n-th till 0.
> Is there a reason for doing so ?
> Can I expect any disadvantages after changing this order to be from 0
> till n-th ?
> 
> I know that the easiest solution is to claim the device driver is
> badly written but I don't have a possibility to change it so I want to
> know if changing this order in usb cored driver is possible without
> affecting other functionality.

What driver is this?  We can always fix it up properly.

thanks,

greg k-h
--
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