Files
linux/drivers/gpio
Uwe Kleine-König a7ea57b025 gpio: fix error path in lineevent_create
commit f001cc351a upstream.

If gpiod_request() fails the cleanup must not call gpiod_free().

Cc: stable@vger.kernel.org
Fixes: 61f922db72 ("gpio: userspace ABI for reading GPIO line events")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-16 10:10:26 +02:00
..
2017-08-14 15:01:13 +02:00
2016-03-30 10:38:51 +02:00
2018-05-16 10:10:26 +02:00
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2017-05-22 17:18:19 +02:00
2016-12-30 09:18:10 +01:00
2017-08-31 13:57:57 +02:00
2016-09-13 10:35:56 +02:00
2016-12-30 09:18:10 +01:00
2017-08-14 15:03:39 +02:00
2017-03-16 21:52:10 +01:00
2017-08-23 09:21:54 +02:00