]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-ti33x-psp-3.2/0007-beaglebone-disable-tsadc.patch
af37d280e968cc8764025f3834c20e6feddc0a6f
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 0007-beaglebone-disable-tsadc.patch
1 From 418ca67a6e1bc3009b63587b0d65d064fa9c6e1a Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Tue, 31 Jan 2012 10:09:06 +0100
4 Subject: [PATCH 07/21] beaglebone: disable tsadc
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-am335xevm.c |    4 ++--
9  1 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
12 index 177ab9e..87ccf14 100644
13 --- a/arch/arm/mach-omap2/board-am335xevm.c
14 +++ b/arch/arm/mach-omap2/board-am335xevm.c
15 @@ -248,11 +248,11 @@ static struct resource tsc_resources[]  = {
16  static struct tsc_data am335x_touchscreen_data  = {
17         .wires  = 4,
18         .x_plate_resistance = 200,
19 -       .mode = TI_TSCADC_TSCMODE,
20 +//     .mode = TI_TSCADC_TSCMODE,
21  };
22  
23  static struct tsc_data bone_touchscreen_data  = {
24 -       .mode = TI_TSCADC_GENMODE,
25 +//     .mode = TI_TSCADC_GENMODE,
26  };
27  
28  static struct platform_device tsc_device = {
29 -- 
30 1.7.2.5