Dmitry Torokhov
1dea33e84d
gpiolib: of: fix fallback quirks handling
...
We should only try to execute fallback quirks handling when previous
call returned -ENOENT, and not when we did not get -EPROBE_DEFER.
The other errors should be treated as hard errors: we did find the GPIO
description, but for some reason we failed to handle it properly.
The fallbacks should only be executed when previous handlers returned
-ENOENT, which means the mapping/description was not found.
Also let's remove the explicit deferral handling when iterating through
GPIO suffixes: it is not needed anymore as we will not be calling
fallbacks for anything but -ENOENT.
Fixes: df451f83e1fc ("gpio: of: fix Freescale SPI CS quirk handling")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20190903231856.GA165165@dtor-ws
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-09-10 11:31:35 +01:00
..
2019-03-26 18:38:07 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:41 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:25:18 -07:00
2019-05-30 11:29:52 -07:00
2019-07-03 10:24:12 +02:00
2018-01-13 22:22:49 +01:00
2019-07-03 10:10:32 +02:00
2019-07-09 09:07:00 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-07-09 09:07:00 -07:00
2019-04-05 00:04:25 +07:00
2017-04-28 09:47:46 +02:00
2019-06-27 10:57:24 +01:00
2018-08-30 11:04:50 +02:00
2019-05-24 17:36:45 +02:00
2019-04-05 00:04:26 +07:00
2019-05-30 11:26:32 -07:00
2018-10-10 09:21:06 +02:00
2019-02-08 15:55:40 +02:00
2019-07-15 11:03:02 -03:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-07-15 11:52:34 +02:00
2019-06-05 17:37:10 +02:00
2019-06-19 17:09:55 +02:00
2019-06-27 15:56:51 +01:00
2019-07-15 11:52:42 +02:00
2019-06-27 15:56:51 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-06-14 10:16:15 +02:00
2018-05-16 14:35:24 +02:00
2019-05-30 11:26:41 -07:00
2019-07-09 09:07:00 -07:00
2019-02-09 11:33:37 +01:00
2019-04-05 00:04:26 +07:00
2018-10-01 12:27:19 +02:00
2018-12-07 17:34:07 +02:00
2018-12-07 17:34:07 +02:00
2019-07-15 21:10:39 -07:00
2019-06-05 17:37:00 +02:00
2019-05-28 10:28:15 +02:00
2019-07-09 09:07:00 -07:00
2019-06-05 17:36:38 +02:00
2019-06-05 17:37:06 +02:00
2019-04-05 00:04:26 +07:00
2019-05-30 11:26:32 -07:00
2018-05-16 14:35:24 +02:00
2019-06-05 17:37:10 +02:00
2017-07-31 15:26:57 +02:00
2019-04-05 00:04:26 +07:00
2019-05-30 11:26:37 -07:00
2018-12-14 14:27:41 +01:00
2019-06-26 09:40:33 +02:00
2019-06-19 17:09:55 +02:00
2019-07-09 09:07:00 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:15 +02:00
2019-05-08 12:06:58 +01:00
2019-07-08 11:01:13 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:29:19 -07:00
2019-06-05 17:37:17 +02:00
2019-04-23 11:30:59 +02:00
2019-05-30 11:26:39 -07:00
2019-04-08 08:47:06 +02:00
2019-06-19 17:09:55 +02:00
2019-04-08 11:17:43 +02:00
2019-09-09 09:55:27 +02:00
2017-10-25 11:25:40 +02:00
2019-06-05 17:37:06 +02:00
2019-02-08 15:55:41 +02:00
2019-04-05 00:04:27 +07:00
2019-06-07 23:20:23 +02:00
2019-04-05 00:04:27 +07:00
2018-12-21 11:29:57 +01:00
2019-04-05 00:04:27 +07:00
2019-07-09 09:07:00 -07:00
2019-05-30 11:29:52 -07:00
2019-08-28 12:55:24 +02:00
2019-05-24 17:36:45 +02:00
2019-02-01 17:24:52 -06:00
2019-05-30 11:26:41 -07:00
2018-11-05 08:54:42 +01:00
2018-07-29 21:55:33 +02:00
2019-07-09 09:07:00 -07:00
2019-02-21 13:18:49 +01:00
2019-06-19 17:09:55 +02:00
2018-12-17 15:28:30 +01:00
2019-05-30 11:29:52 -07:00
2019-06-27 15:56:50 +01:00
2019-05-24 17:36:45 +02:00
2019-06-19 17:09:06 +02:00
2019-06-19 17:09:55 +02:00
2019-01-11 10:34:37 +01:00
2019-05-30 11:26:32 -07:00
2019-04-23 13:08:33 +02:00
2019-07-03 10:24:02 +02:00
2018-12-07 17:34:08 +02:00
2019-04-05 00:04:27 +07:00
2019-04-05 00:04:26 +07:00
2019-06-05 17:37:06 +02:00
2019-06-19 17:09:10 +02:00
2019-07-09 09:07:00 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:37:06 +02:00
2019-06-19 17:09:10 +02:00
2019-06-19 17:09:06 +02:00
2019-07-09 09:07:00 -07:00
2019-05-01 10:41:38 +01:00
2019-05-30 11:29:19 -07:00
2016-09-13 10:35:56 +02:00
2018-09-04 08:22:47 +02:00
2018-09-04 08:22:47 +02:00
2019-05-24 17:39:01 +02:00
2018-09-04 08:22:47 +02:00
2018-09-04 08:22:47 +02:00
2018-02-23 15:26:42 +01:00
2019-02-21 13:19:52 +01:00
2019-04-05 00:04:28 +07:00
2018-05-16 14:35:24 +02:00
2018-09-04 08:22:47 +02:00
2018-09-10 08:48:51 +02:00
2018-09-10 08:49:22 +02:00
2019-06-19 17:09:55 +02:00
2019-04-05 00:04:28 +07:00
2019-05-28 10:28:14 +02:00
2018-09-17 10:55:24 -07:00
2019-06-27 15:56:51 +01:00
2018-09-17 10:55:24 -07:00
2019-02-08 15:55:41 +02:00
2018-01-09 14:51:00 +01:00
2018-09-17 10:55:24 -07:00
2018-09-17 10:55:24 -07:00
2018-09-17 10:55:24 -07:00
2019-05-30 11:26:41 -07:00
2019-05-21 11:28:45 +02:00
2019-06-19 17:09:07 +02:00
2019-07-09 09:07:00 -07:00
2019-04-05 00:04:28 +07:00
2019-05-30 11:29:52 -07:00
2018-09-17 10:55:24 -07: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
2019-06-07 23:20:23 +02:00
2019-04-08 11:20:12 +02:00
2018-12-11 01:04:23 +00:00
2018-09-25 09:08:48 +02:00
2019-09-10 11:31:35 +01:00
2018-09-25 09:08:48 +02:00
2019-09-09 10:04:53 +02:00
2019-07-06 20:14:22 +02:00
2019-07-16 12:21:41 -07:00
2019-07-15 20:18:40 -07:00
2019-06-14 10:16:15 +02:00