Wenhua Lin
9bc5b61ea5
gpio: eic-sprd: Clear interrupt after set the interrupt type
...
[ Upstream commit 84aef4ed59705585d629e81d633a83b7d416f5fb ]
The raw interrupt status of eic maybe set before the interrupt is enabled,
since the eic interrupt has a latch function, which would trigger the
interrupt event once enabled it from user side. To solve this problem,
interrupts generated before setting the interrupt trigger type are ignored.
Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support")
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:12:43 +01:00
..
2018-01-12 11:05:24 +01:00
2018-01-31 12:25:27 -08:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-03-26 10:10:18 +02:00
2019-04-03 06:26:27 +02:00
2018-01-13 22:12:07 +01:00
2018-08-29 10:54:38 +02:00
2019-02-06 17:30:12 +01:00
2018-01-13 22:18:34 +01:00
2022-12-14 11:28:28 +01:00
2020-07-29 10:16:44 +02:00
2023-10-10 21:45:01 +02:00
2018-07-29 23:34:54 +02:00
2018-08-06 23:46:55 +02:00
2017-04-28 09:47:46 +02:00
2018-11-13 11:08:30 -08:00
2018-01-13 22:56:52 +01:00
2018-01-14 01:48:48 +01:00
2018-01-14 01:56:24 +01:00
2018-01-14 02:00:10 +01:00
2018-01-14 02:00:10 +01:00
2023-04-20 12:04:38 +02:00
2018-03-19 01:50:07 +01:00
2020-06-25 15:32:53 +02:00
2024-02-23 08:12:43 +01:00
2018-08-06 23:46:55 +02:00
2020-06-03 08:19:35 +02:00
2017-04-28 10:09:16 +02:00
2018-03-19 01:50:24 +01:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2020-02-24 08:34:36 +01:00
2018-02-22 13:54:35 +01:00
2018-06-12 16:19:22 -07:00
2018-03-19 01:50:29 +01:00
2018-05-16 14:35:24 +02:00
2018-02-22 15:29:05 +01:00
2017-12-02 22:42:21 +01:00
2018-08-10 23:19:17 +02:00
2018-03-19 01:50:30 +01:00
2018-03-19 01:50:31 +01:00
2018-03-19 01:50:31 +01:00
2017-10-25 11:25:38 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2017-07-31 15:26:57 +02:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-06-05 11:15:30 +01:00
2018-05-16 14:35:24 +02:00
2018-06-18 07:55:30 +02:00
2018-03-27 15:18:06 +02:00
2018-12-29 13:37:56 +01:00
2019-12-01 09:16:09 +01:00
2017-10-31 13:13:34 +01:00
2018-05-16 14:35:24 +02:00
2018-05-16 14:35:24 +02:00
2018-06-18 07:55:30 +02:00
2018-02-22 15:25:40 +01:00
2020-06-22 09:05:23 +02:00
2018-05-16 14:35:24 +02:00
2018-08-10 23:19:17 +02:00
2020-10-07 08:00:04 +02:00
2022-09-28 11:02:51 +02:00
2018-05-16 14:35:24 +02:00
2019-02-27 10:08:49 +01:00
2022-05-25 09:10:40 +02:00
2019-05-08 07:21:53 +02:00
2018-11-13 11:08:14 -08:00
2018-05-24 14:22:04 +02:00
2019-07-26 09:14:06 +02:00
2018-05-24 14:25:13 +02:00
2021-07-20 16:16:09 +02:00
2021-03-04 09:39:56 +01:00
2020-06-22 09:05:23 +02:00
2018-04-27 00:55:16 +02:00
2020-11-18 19:18:50 +01:00
2018-07-29 21:55:33 +02:00
2019-01-26 09:32:33 +01:00
2023-10-10 21:44:58 +02:00
2023-10-10 21:45:02 +02:00
2019-12-05 09:20:24 +01:00
2018-07-02 16:00:49 +02:00
2018-07-13 10:55:26 +02:00
2018-07-02 16:00:49 +02:00
2017-12-22 15:24:31 +01:00
2018-07-02 16:00:49 +02:00
2018-07-02 16:00:49 +02:00
2018-07-02 16:00:49 +02:00
2018-07-02 16:00:49 +02:00
2020-10-07 08:00:07 +02:00
2018-07-02 16:00:49 +02:00
2018-07-02 16:00:49 +02:00
2018-07-02 16:00:49 +02:00
2019-11-24 08:20:54 +01:00
2023-10-10 21:44:57 +02:00
2020-10-07 08:00:04 +02:00
2022-03-02 11:38:14 +01:00
2020-06-03 08:19:27 +02:00
2018-06-12 16:19:22 -07:00
2023-10-25 11:16:54 +02:00
2023-08-11 11:45:27 +02:00
2022-03-16 13:20:26 +01:00
2017-09-04 14:41:02 +01:00
2017-08-23 10:20:16 +02:00
2021-10-06 15:31:13 +02:00
2023-10-25 11:17:02 +02:00
2022-07-02 16:27:33 +02:00
2017-11-08 14:06:21 +01:00
2022-07-02 16:27:34 +02:00
2018-02-12 09:36:06 +01:00
2018-03-26 10:28:19 +02:00
2018-08-06 23:46:55 +02:00
2018-08-10 23:19:17 +02:00
2018-05-16 14:35:24 +02:00
2018-04-27 01:06:21 +02:00
2017-08-23 09:21:54 +02:00
2017-11-08 14:06:21 +01:00
2021-07-20 16:16:09 +02:00
2024-02-23 08:12:42 +01:00
2017-12-22 15:24:31 +01:00
2022-08-25 11:15:17 +02:00
2023-12-13 17:42:19 +01:00
2020-01-17 19:47:00 +01:00
2018-07-13 09:00:08 +02:00
2020-02-01 09:37:09 +00:00
2018-08-20 15:38:44 -07:00