diff options
author | Oliver Neukum <oneukum@suse.de> | 2012-03-28 13:16:19 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-03-30 15:14:27 +0200 |
commit | a8c52b662cef520815ed43cb3305f8b45b452694 (patch) | |
tree | 409aa82687d6380a85c63a6d2e121150de8eb3c1 /security/keys/proc.c | |
parent | d464c92b5234227c1698862a1906827e2e398ae0 (diff) | |
download | talos-op-linux-a8c52b662cef520815ed43cb3305f8b45b452694.tar.gz talos-op-linux-a8c52b662cef520815ed43cb3305f8b45b452694.zip |
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>
Diffstat (limited to 'security/keys/proc.c')
0 files changed, 0 insertions, 0 deletions