rk3188 ds1006h:fix l3g4200d
authorwuhao <wuhao@wuhao@rock-chips.com>
Fri, 1 Feb 2013 08:04:41 +0000 (16:04 +0800)
committerwuhao <wuhao@wuhao@rock-chips.com>
Fri, 1 Feb 2013 08:04:41 +0000 (16:04 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h.c

index 6e30ca2ff63885b0d29184df6bd2e28fbcbc46e9..058183e48998d4684648c71b7e1bcf7b7c27c067 100755 (executable)
@@ -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,