From ae1b615a0bc8fe05e4dfab8e95bf97084079815a Mon Sep 17 00:00:00 2001 From: wuhao Date: Fri, 1 Feb 2013 16:04:41 +0800 Subject: [PATCH] rk3188 ds1006h:fix l3g4200d --- arch/arm/mach-rk3188/board-rk3188-ds1006h.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index 6e30ca2ff638..058183e48998 100755 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -316,7 +316,7 @@ static struct sensor_platform_data l3g4200d_info = { .type = SENSOR_TYPE_GYROSCOPE, .irq_enable = 1, .poll_delay_ms = 0, - .orientation = {1, 0, 0 , -1, 0, 0, 0, 0, -1}, + .orientation = {1, 0, 0 , 0 , -1, 0, 0, 0, -1}, .init_platform_hw = l3g4200d_init_platform_hw, .x_min = 40,//x_min,y_min,z_min = (0-100) according to hardware .y_min = 40, -- 2.34.1