diff options
author | Sébastien Szymanski <sebastien.szymanski@armadeus.com> | 2017-11-10 10:01:43 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-11-10 13:32:35 +0100 |
commit | 7da85fbf1c87d4f73621e0e7666a3387497075a9 (patch) | |
tree | df39ad1003583c8f70252f639b9f45db39f913ce /kernel/torture.c | |
parent | HID: cp2112: fix interface specification URL (diff) | |
download | linux-7da85fbf1c87d4f73621e0e7666a3387497075a9.tar.xz linux-7da85fbf1c87d4f73621e0e7666a3387497075a9.zip |
HID: cp2112: fix broken gpio_direction_input callback
When everything goes smoothly, ret is set to 0 which makes the function
to return EIO error.
Fixes: 8e9faa15469e ("HID: cp2112: fix gpio-callback error handling")
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions