RE: reset_resume() for btusb

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

 



 
> 
> On Wed, 2014-03-12 at 15:18 +0000, Poulain, Loic wrote:
> > My thought was to fix the usbcore rebind issue (with pm_runtime) to
> > let the core unbind and rebind the device's interfaces for drivers
> > with no reset_resume callback (not only btusb).
> 
> Those functions seem to be independent. Even if you have
> reset_resume() it can still fail and the kernel needs to deal with that.
> 
> > Implementing the btusb reset_resume seems risky, a patch implementing
> > this callback has been previously reverted due to HID dual mode device
> > regression. (cf https://lkml.org/lkml/2013/11/26/347)
> 
> Alan, perhaps the core code should honor QUIRK_RESET and unbind if it is
> set. Then hid2hci could set the flag.
> 

It will cause reset every time, just like Poulain said, some devices may
only fail at rare cases.

Peter

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





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

  Powered by Linux