HID, driver interaction with device during probe defeated by 4ea5454203d991ec85264f64f89ca8855fce69b0

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

 



Hi,

picolcd driver stopped working (probe fails) recently, probably in
relation with commit 4ea5454203d991ec85264f64f89ca8855fce69b0
(HID: Fix race condition between driver core and ll-driver).

The probe code does send a report to the HID device to query version
information but times-out getting the response.

What would be the proper approach to fix this chicken-egg problem?
Semaphore introduced by above patch is only being released after
driver probe function has returned but prevents and incoming reports
from being delivered.

Touching the semaphore inside driver looks like a bad idea to me...

Thanks,
Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux