]> 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/0014-beaglebone-fix-ADC-init.patch
recipes: fix the remaining missing quotes
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / 0014-beaglebone-fix-ADC-init.patch
1 From 7bb1a67ac428c3a5b13411972bb74c0071eaa0d1 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Tue, 31 Jan 2012 14:50:55 +0100
4 Subject: [PATCH 14/21] beaglebone: fix ADC init
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-am335xevm.c |    6 ++----
9  1 files changed, 2 insertions(+), 4 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
12 index ac4f78f..177ab9e 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 @@ -2182,7 +2182,6 @@ static struct evm_dev_cfg beaglebone_old_dev_cfg[] = {
30         {i2c2_init,     DEV_ON_BASEBOARD, PROFILE_NONE},
31         {mmc0_init,     DEV_ON_BASEBOARD, PROFILE_NONE},
32         {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL},
33 -       {bone_tsc_init,         DEV_ON_BASEBOARD, PROFILE_ALL},
34         {NULL, 0, 0},
35  };
36  
37 @@ -2195,7 +2194,6 @@ static struct evm_dev_cfg beaglebone_dev_cfg[] = {
38         {i2c2_init,     DEV_ON_BASEBOARD, PROFILE_NONE},
39         {mmc0_init,     DEV_ON_BASEBOARD, PROFILE_NONE},
40         {boneleds_init, DEV_ON_BASEBOARD, PROFILE_ALL},
41 -       {bone_tsc_init,         DEV_ON_BASEBOARD, PROFILE_ALL},
42         {NULL, 0, 0},
43  };
44  
45 -- 
46 1.7.7.4