[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.1711101333310.32604@cbobk.fhfr.pm>
Date: Fri, 10 Nov 2017 13:33:42 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Sébastien Szymanski
<sebastien.szymanski@...adeus.com>
cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Julien Boibessot <julien.boibessot@...adeus.com>
Subject: Re: [PATCH v2 3/3] HID: cp2112: fix broken gpio_direction_input
callback
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.szymanski@...adeus.com>
> ---
> Changes in v2:
> - rework error handling to have only one exit path as suggested by
> Benjamin Tissoires <benjamin.tissoires@...hat.com>
Applied to for-4.15/upstream.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists