Thread (3 messages) 3 messages, 3 authors, 2017-11-10

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

From: Jiri Kosina <jikos@kernel.org>
Date: 2017-11-10 12:33:45
Also in: lkml

On Fri, 10 Nov 2017, 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 <redacted>
---
Changes in v2:
 - rework error handling to have only one exit path as suggested by
   Benjamin Tissoires [off-list ref]
Applied to for-4.15/upstream.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help