Searched hist:a8c52b662cef520815ed43cb3305f8b45b452694 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hid/usbhid/ |
H A D | usbhid.h | diff a8c52b662cef520815ed43cb3305f8b45b452694 Wed Mar 28 06:16:19 CDT 2012 Oliver Neukum <oneukum@suse.de> HID: usbhid: fix error handling of not enough bandwidth
In case IO cannot be started because there is a lack of bandwidth on the bus, it makes no sense to reset the device. If IO is requested because the device is opened, user space should be notified with an error right away. If the lack of bandwidth arises later, for example after resume, there's no other choice but to retry in the hope that bandwidth will be freed.
Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid-core.c | diff a8c52b662cef520815ed43cb3305f8b45b452694 Wed Mar 28 06:16:19 CDT 2012 Oliver Neukum <oneukum@suse.de> HID: usbhid: fix error handling of not enough bandwidth
In case IO cannot be started because there is a lack of bandwidth on the bus, it makes no sense to reset the device. If IO is requested because the device is opened, user space should be notified with an error right away. If the lack of bandwidth arises later, for example after resume, there's no other choice but to retry in the hope that bandwidth will be freed.
Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|