Home
last modified time | relevance | path

Searched hist:c60fa555b11b25386b355c141d90cbee361c3eec (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.cdiff c60fa555b11b25386b355c141d90cbee361c3eec Mon Dec 05 05:37:24 CST 2016 Pan Bian <bianpan2016@163.com> HID: usbhid: fix improper return value

Function hid_post_reset() should return negative error codes on failures.
However, in its implementation, it incorrectly returns 1. This patch fixes the
bug, returning proper error codes on failures.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>