diff options
| author | Jiri Kosina <[email protected]> | 2008-12-30 00:49:59 +0100 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2009-01-04 01:01:43 +0100 |
| commit | 4dfdc46468a142216b284eea66040f49df3f7191 (patch) | |
| tree | 771f8c4abcecd8e7ac80bc61f97318f24f852fd9 /scripts/patch-kernel | |
| parent | b8a832b1c0a70531b4bd69a67aa0bf72f6f2dc34 (diff) | |
HID: fix error condition propagation in hid-sony driver
sony_set_operational() only propagates return value from
usb_control_msg(), which returns negative on error and number
of transferred bytes otherwise.
Reported-by: Marcin Tolysz <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions