Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7da85fbf authored by Sébastien Szymanski's avatar Sébastien Szymanski Committed by Jiri Kosina
Browse files

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: 8e9faa15 ("HID: cp2112: fix gpio-callback error handling")
Signed-off-by: default avatarSébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ce4dd820
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment