aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <agreen@pads.home.warmcat.com>2008-11-21 17:09:45 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-21 17:09:45 +0000
commitc08433d1b54a2cadc7061a2bd68fbf1a4d42fcca (patch)
tree30f7d844583dea919be3a993dc8409079be64ff1
parent6362dbd5349423f2da412d8e4245c37ec4c8ba5f (diff)
-rw-r--r--arch/arm/mach-s3c6410/mach-om-gta03.c4
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,