diff options
author | Pan Bian <bianpan2016@163.com> | 2016-12-05 14:37:24 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-12-09 15:46:29 +0300 |
commit | c60fa555b11b25386b355c141d90cbee361c3eec (patch) | |
tree | 144f457fbc9ebfcb02a4c98a4009fd0f3b402d62 /drivers/clk/imx/clk-pllv3.c | |
parent | 2ae3986b84e9d325bc92a1efbcf0c6b0f5016b35 (diff) | |
download | linux-c60fa555b11b25386b355c141d90cbee361c3eec.tar.xz |
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>
Diffstat (limited to 'drivers/clk/imx/clk-pllv3.c')
0 files changed, 0 insertions, 0 deletions