From 03517717a079b11f6d0fcc3f9aea8400f060ff4b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 12 Jul 2014 14:03:08 -0600 Subject: [PATCH] SAMA5D4-EK: Valid MXT interrupts should only occur on the falling edge of the ~CHG signal --- configs/sama5d4-ek/src/sama5d4-ek.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/sama5d4-ek/src/sama5d4-ek.h b/configs/sama5d4-ek/src/sama5d4-ek.h index 1cddca30a5..8fc867f30a 100644 --- a/configs/sama5d4-ek/src/sama5d4-ek.h +++ b/configs/sama5d4-ek/src/sama5d4-ek.h @@ -387,11 +387,11 @@ */ #define PIO_CHG_MXT (PIO_INPUT | PIO_CFG_PULLUP | PIO_CFG_DEGLITCH | \ - PIO_INT_BOTHEDGES | PIO_PORT_PIOE | PIO_PIN24) + PIO_INT_FALLING | PIO_PORT_PIOE | PIO_PIN24) #define IRQ_CHG_MXT SAM_IRQ_PE24 #define PIO_CHG_QT (PIO_INPUT | PIO_CFG_PULLUP | PIO_CFG_DEGLITCH | \ - PIO_INT_BOTHEDGES | PIO_PORT_PIOE | PIO_PIN25) + PIO_INT_FALLING | PIO_PORT_PIOE | PIO_PIN25) #define IRQ_CHG_QT SAM_IRQ_PE25 /* The touchscreen communicates on TWI0, I2C address 0x4c */