Re: [PATCH 3/3] HID: cp2112: fix broken gpio_direction_input callback

2017-11-06 Thread Benjamin Tissoires
On Nov 06 2017 or thereabouts, Sébastien Szymanski wrote: > On 11/06/2017 09:11 AM, Benjamin Tissoires wrote: > > On Nov 02 2017 or thereabouts, Sébastien Szymanski wrote: > >> When everything goes smoothly, ret is set to 0 which makes the function > >> to return EIO error. > >> > >> Fixes: 8e9faa1

Re: [PATCH 3/3] HID: cp2112: fix broken gpio_direction_input callback

2017-11-06 Thread Sébastien Szymanski
On 11/06/2017 09:11 AM, Benjamin Tissoires wrote: > On Nov 02 2017 or thereabouts, Sébastien Szymanski wrote: >> 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-

Re: [PATCH 3/3] HID: cp2112: fix broken gpio_direction_input callback

2017-11-06 Thread Benjamin Tissoires
On Nov 02 2017 or thereabouts, Sébastien Szymanski wrote: > 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 > --- > drivers/hid/hid-cp2112

[PATCH 3/3] HID: cp2112: fix broken gpio_direction_input callback

2017-11-02 Thread Sébastien Szymanski
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 --- drivers/hid/hid-cp2112.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --gi