From 1f22a418caaf3c7026b1792b1e14e097dbd6b804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B8e?= Date: Tue, 22 May 2018 11:34:36 +0200 Subject: [PATCH] gpio: doc: Be explicit about how EDGE and DOUBLE_EDGE work together MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be explicit about how EDGE and DOUBLE_EDGE interact, see PR #6807 for details. Signed-off-by: Sebastian Bøe --- include/dt-bindings/gpio/gpio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/gpio/gpio.h b/include/dt-bindings/gpio/gpio.h index 01719a4dd6b..fe1105a8964 100644 --- a/include/dt-bindings/gpio/gpio.h +++ b/include/dt-bindings/gpio/gpio.h @@ -52,7 +52,9 @@ /** Do Edge trigger. */ #define GPIO_INT_EDGE (1 << 5) -/** Interrupt triggers on both rising and falling edge. */ +/** Interrupt triggers on both rising and falling edge. + * Must be combined with GPIO_INT_EDGE. + */ #define GPIO_INT_DOUBLE_EDGE (1 << 6) /** @} */