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 <sebastien.szyman...@armadeus.com>
> ---
> Changes in v2:
>  - rework error handling to have only one exit path as suggested by
>    Benjamin Tissoires <benjamin.tissoi...@redhat.com>

Applied to for-4.15/upstream.

-- 
Jiri Kosina
SUSE Labs

Reply via email to