Russell King
c859e0d479
gpio: omap: ensure irq is enabled before wakeup
...
Documentation states:
NOTE: There must be a correlation between the wake-up enable and
interrupt-enable registers. If a GPIO pin has a wake-up configured
on it, it must also have the corresponding interrupt enabled (on
one of the two interrupt lines).
Ensure that this condition is always satisfied by enabling the detection
events after enabling the interrupt, and disabling the detection before
disabling the interrupt. This ensures interrupt/wakeup events can not
happen until both the wakeup and interrupt enables correlate.
If we do any clearing, clear between the interrupt enable/disable and
trigger setting.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-06-12 11:12:44 +02:00
..
2019-03-26 18:38:07 +01:00
2019-04-05 00:04:25 +07:00
2018-11-05 08:54:41 +01:00
2018-11-05 08:54:41 +01:00
2018-03-26 10:10:18 +02:00
2019-03-22 16:48:47 +01:00
2018-08-29 13:30:25 +02:00
2019-02-09 11:33:37 +01:00
2019-02-14 15:14:38 +01:00
2019-06-10 16:24:22 +02:00
2018-01-13 22:22:49 +01:00
2019-03-08 14:11:30 +01:00
2019-04-05 00:04:25 +07:00
2018-01-13 22:47:48 +01:00
2019-04-08 13:03:09 +02:00
2018-07-29 23:34:54 +02:00
2019-04-05 00:04:25 +07:00
2017-04-28 09:47:46 +02: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-04-05 00:04:26 +07:00
2018-10-10 09:21:06 +02:00
2019-02-08 15:55:40 +02: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
2019-06-08 00:35:42 +02:00
2018-03-19 01:50:07 +01:00
2019-04-05 00:04:26 +07:00
2019-04-11 15:39:48 +02:00
2018-08-06 23:46:55 +02:00
2018-09-10 08:48:24 +02:00
2019-03-22 16:48:39 +01:00
2019-01-22 15:48:44 +01:00
2019-04-05 00:04:26 +07:00
2018-05-16 14:35:24 +02:00
2018-11-05 08:54:41 +01:00
2018-11-19 15:09:22 +01: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-04-05 00:04:26 +07:00
2018-08-10 23:19:17 +02:00
2019-05-28 10:28:15 +02:00
2019-04-05 00:04:26 +07:00
2018-03-19 01:50:31 +01:00
2018-12-07 11:10:14 +01:00
2019-04-05 00:04:26 +07: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
2019-04-05 00:04:26 +07:00
2018-05-16 14:35:24 +02:00
2018-12-14 14:27:41 +01:00
2019-02-14 15:14:37 +01:00
2018-05-16 14:35:24 +02:00
2018-06-18 07:55:30 +02:00
2018-09-13 11:16:54 +02:00
2015-11-30 09:31:00 +01:00
2018-12-21 09:23:45 +01:00
2018-12-19 18:35:45 +00:00
2019-05-08 12:06:58 +01:00
2019-04-05 00:04:26 +07: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
2019-04-23 11:30:59 +02:00
2019-02-01 17:24:52 -06:00
2019-04-08 08:47:06 +02:00
2018-05-16 14:35:24 +02:00
2019-04-08 11:17:43 +02:00
2019-03-28 18:04:53 +01:00
2017-10-25 11:25:40 +02:00
2016-02-16 00:20:03 +01: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-06-12 11:12:44 +02:00
2018-05-24 14:25:13 +02:00
2019-06-02 23:14:52 +02:00
2019-05-24 17:36:45 +02:00
2019-02-01 17:24:52 -06:00
2018-11-05 08:54:42 +01:00
2018-11-05 08:54:42 +01:00
2018-07-29 21:55:33 +02:00
2018-11-05 08:54:42 +01:00
2019-02-21 13:18:49 +01:00
2019-04-23 13:02:15 +02:00
2018-12-17 15:28:30 +01:00
2018-07-02 16:00:49 +02:00
2019-04-05 00:04:27 +07:00
2019-05-24 17:36:45 +02:00
2017-12-22 15:24:31 +01:00
2018-07-02 16:00:49 +02:00
2019-01-11 10:34:37 +01:00
2018-11-05 08:54:42 +01:00
2019-04-23 13:08:33 +02:00
2018-09-28 09:30:42 +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-04-05 00:04:27 +07:00
2018-07-02 16:00:49 +02:00
2019-04-05 00:04:27 +07:00
2018-10-10 10:33:11 +02:00
2019-04-05 00:04:27 +07:00
2017-11-08 14:06:21 +01:00
2019-02-14 15:14:38 +01:00
2019-04-05 00:04:28 +07:00
2019-05-01 10:41:38 +01:00
2019-04-05 00:04:28 +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
2016-02-23 20:35:50 +05:30
2019-04-05 00:04:28 +07:00
2019-05-28 10:28:14 +02: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-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
2018-11-05 08:54:42 +01:00
2019-05-21 11:28:45 +02:00
2017-03-06 14:35:22 +01:00
2019-06-10 16:22:27 +02:00
2019-04-05 00:04:28 +07:00
2018-04-27 01:06:21 +02:00
2018-09-17 10:55:24 -07:00
2018-09-04 08:22:47 +02:00
2019-04-05 00:04:28 +07:00
2019-04-05 00:04:28 +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-06-12 09:47:15 +02:00
2018-09-25 09:08:48 +02:00
2019-06-07 23:20:23 +02:00
2019-05-11 10:54:43 -04:00
2019-06-10 16:22:27 +02:00
2019-05-16 08:31:32 -07:00
2018-11-05 08:54:40 +01:00