[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 0007-beaglebone-disable-tsadc.patch
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch
--- /dev/null
@@ -0,0 +1,31 @@
+From 6f50bf55f6182ecd09aac93d3b613a99159b606c Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Tue, 31 Jan 2012 10:09:06 +0100
+Subject: [PATCH 07/16] beaglebone: disable tsadc
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ arch/arm/mach-omap2/board-am335xevm.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
+index 177ab9e..87ccf14 100644
+--- a/arch/arm/mach-omap2/board-am335xevm.c
++++ b/arch/arm/mach-omap2/board-am335xevm.c
+@@ -248,11 +248,11 @@ static struct resource tsc_resources[] = {
+ static struct tsc_data am335x_touchscreen_data = {
+ .wires = 4,
+ .x_plate_resistance = 200,
+- .mode = TI_TSCADC_TSCMODE,
++// .mode = TI_TSCADC_TSCMODE,
+ };
+
+ static struct tsc_data bone_touchscreen_data = {
+- .mode = TI_TSCADC_GENMODE,
++// .mode = TI_TSCADC_GENMODE,
+ };
+
+ static struct platform_device tsc_device = {
+--
+1.7.7.5
+