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 /include/linux/hid.h | |
parent | ce4dd820d7bc4352e042bd3c7100d509b34ab6ba (diff) | |
download | lwn-7da85fbf1c87d4f73621e0e7666a3387497075a9.tar.gz lwn-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 'include/linux/hid.h')
0 files changed, 0 insertions, 0 deletions