Re: [PATCH 0/7] HID: picoLCD updates

From
Alan Stern <stern@rowland.harvard.edu>
Date
2012-08-19 00:11:16
Also in
linux-input, lkml
Reply to
Bruno Prémont, 2012-08-18
On Sat, 18 Aug 2012, Bruno Prémont wrote:
One thing I just though about, how does usbhid handle the calls to
usbhid_submit_report() when hid_hw_stop()/hid_hw_close() have already
been called?
Looks like they aren't synchronized at all.  That's a bug.  
usbhid_submit_report() should check the HID_DISCONNECTED flag.
I will attempt to see if it makes a difference to shortcut my
usbhid_submit_report() calls from the point on I have called hid_hw_close()...
I don't know bout hid_hw_close().  Certainly no more reports should be 
submitted following usbhid_stop().

Alan Stern
Thread (34 messages) 34 messages, 5 authors, last reply 2012-09-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help