From: wuhao Date: Fri, 1 Feb 2013 08:04:41 +0000 (+0800) Subject: rk3188 ds1006h:fix l3g4200d X-Git-Tag: firefly_0821_release~7654 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ae1b615a0bc8fe05e4dfab8e95bf97084079815a;p=firefly-linux-kernel-4.4.55.git rk3188 ds1006h:fix l3g4200d --- 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,