From c08433d1b54a2cadc7061a2bd68fbf1a4d42fcca Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 21 Nov 2008 17:09:45 +0000 Subject: --- arch/arm/mach-s3c6410/mach-om-gta03.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c index 02c1c967db9..9306236cb63 100644 --- a/arch/arm/mach-s3c6410/mach-om-gta03.c +++ b/arch/arm/mach-s3c6410/mach-om-gta03.c @@ -136,6 +136,8 @@ static void __gta03_lis302dl_bitbang(struct lis302dl_info *lis, u8 *tx, int n; u8 shifter = 0; + printk(KERN_INFO "__gta03_lis302dl_bitbang\n"); + gpio_direction_output(pdata->pin_chip_select, 1); gpio_direction_output(pdata->pin_clk, 1); gpio_direction_output(pdata->pin_chip_select, 0); @@ -223,7 +225,7 @@ void gta03_lis302dl_suspend_io(struct lis302dl_info *lis, int resume) struct lis302dl_platform_data lis302_pdata = { .name = "lis302", - .pin_chip_select= S3C64XX_GPC(3), /* NC */ + .pin_chip_select= S3C64XX_GPN(15), /* NC */ .pin_clk = GTA03_GPIO_ACCEL_CLK, .pin_mosi = GTA03_GPIO_ACCEL_MOSI, .pin_miso = GTA03_GPIO_ACCEL_MISO, -- cgit v1.2.3