summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/board-mx6q_sabreauto.c
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2013-01-22 18:40:25 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2013-01-22 18:40:25 +0800
commit4fd0513a582f5e55814f8df848cf978d7592fd70 (patch)
treef28c4fbcb4bb44a41272e16535d85008e388c83d /arch/arm/mach-mx6/board-mx6q_sabreauto.c
parent788bcf52a2e4c37dc42e9605d31995f8dd80d674 (diff)
ENGR00241251 imx6_sabreauto: workaround touch screen can not wake up issue.
Workaround this issue by not suspend, and this will be check by driver, if can not request the wake up gpio, it will not do the suspend & resume. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_sabreauto.c')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index acd42bac03d3..dcc654a6958b 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -1704,6 +1704,14 @@ static void __init mx6_board_init(void)
imx6q_add_perfmon(0);
imx6q_add_perfmon(1);
imx6q_add_perfmon(2);
+
+ /* acquire this irq is want to let touch driver failed to
+ * request this irq gpio, and the driver will disable suspend
+ * funtion, to workaround sabreauto board have isssue on gpio
+ * of touch use. */
+ gpio_request(SABREAUTO_CAP_TCH_INT, "touch irq");
+ gpio_direction_input(SABREAUTO_CAP_TCH_INT);
+
}
extern void __iomem *twd_base;