linux-ti335x-psp: add 3.2 based on 3.2-staging branch
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 0007-beaglebone-disable-tsadc.patch
1 From 6f50bf55f6182ecd09aac93d3b613a99159b606c 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/16] 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.7.5