diff options
-rw-r--r-- | arch/arm/mach-s3c6410/mach-om-gta03.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, |