Linus Walleij
c4e9441392
leds: gpio: Fix semantic error
...
The leds-gpio driver mixes up the legacy GPIO flags with the
GPIO descriptor flags and passes a legacy flag to
devm_gpiod_get_index().
Fix this by replacing the flags variable with the strict
descriptor flag.
Fixes: 45d4c6de4e49 ("leds: gpio: Try to lookup gpiod from device")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
2020-07-12 10:14:05 +02:00
..
2020-07-12 10:06:38 +02:00
2020-05-25 12:56:39 +02:00
2019-11-03 17:38:36 +01:00
2020-07-12 10:10:37 +02:00
2019-08-23 23:39:37 +02:00
2020-07-12 10:04:59 +02:00
2020-06-22 10:37:58 +02:00
2019-07-25 20:07:59 +02:00
2019-05-30 11:25:18 -07:00
2019-11-03 17:39:00 +01:00
2019-07-22 21:57:35 +02:00
2020-04-27 11:35:11 +02:00
2019-12-21 20:09:47 +01:00
2019-06-19 17:09:55 +02:00
2020-05-25 12:56:39 +02:00
2020-06-22 10:38:00 +02:00
2019-11-03 17:37:24 +01:00
2020-02-26 14:34:55 +01:00
2019-05-24 17:36:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 11:28:39 +02:00
2019-05-24 17:37:52 +02:00
2019-07-25 20:07:58 +02:00
2020-06-22 10:37:58 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2019-11-03 17:37:06 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-07-12 10:14:05 +02:00
2019-06-19 17:09:55 +02:00
2020-04-06 22:44:19 +02:00
2019-06-19 17:09:55 +02:00
2020-03-21 16:21:16 +01:00
2019-07-23 20:47:45 +02:00
2019-07-22 21:43:12 +02:00
2020-06-22 10:38:00 +02:00
2019-05-30 11:29:22 -07:00
2020-04-06 22:44:18 +02:00
2020-06-22 10:37:59 +02:00
2019-11-03 17:38:41 +01:00
2020-06-22 10:38:00 +02:00
2020-01-07 14:09:27 +01:00
2020-02-26 21:49:18 +01:00
2020-06-22 10:37:59 +02:00
2019-06-19 17:09:55 +02:00
2020-07-12 09:52:22 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-04-17 14:49:22 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-07-22 20:35:01 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-25 20:07:55 +02:00
2020-04-17 14:49:22 +02:00
2019-06-19 17:09:55 +02:00
2019-12-21 20:09:58 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2018-06-12 16:19:22 -07:00
2019-11-03 17:39:00 +01:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2020-04-27 14:11:20 +02:00
2019-05-30 11:26:37 -07:00
2020-02-26 14:34:48 +01:00
2015-11-03 08:59:13 +01:00
2020-07-12 09:53:24 +02:00
2020-05-25 18:59:59 -06:00
2019-11-03 17:39:00 +01:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2020-04-27 11:35:11 +02:00
2020-01-02 22:41:53 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-25 20:07:53 +02:00
2020-04-27 11:44:51 +02:00
2019-05-24 22:19:43 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2019-09-01 13:33:27 +02:00
2020-04-17 14:49:22 +02:00
2019-09-03 20:34:46 +02:00
2020-04-17 15:39:07 +02:00
2019-12-21 20:10:02 +01:00
2020-06-22 10:38:00 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-11-03 17:38:14 +01:00
2020-05-25 12:56:39 +02:00
2019-05-30 11:26:37 -07:00