From: kfx Date: Thu, 3 Jan 2013 06:30:04 +0000 (+0800) Subject: rk3168: ds1006h: fixed gsensor oriention X-Git-Tag: firefly_0821_release~8019 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9f6120eaed27ea8ac288d45faf5811ba6d2790ff;p=firefly-linux-kernel-4.4.55.git rk3168: ds1006h: fixed gsensor oriention --- diff --git a/arch/arm/mach-rk30/board-rk3168-ds1006h.c b/arch/arm/mach-rk30/board-rk3168-ds1006h.c index b1b90d3c1adc..0a984ca18e16 100644 --- a/arch/arm/mach-rk30/board-rk3168-ds1006h.c +++ b/arch/arm/mach-rk30/board-rk3168-ds1006h.c @@ -238,7 +238,7 @@ static struct sensor_platform_data mma8452_info = { .irq_enable = 1, .poll_delay_ms = 30, .init_platform_hw = mma8452_init_platform_hw, - .orientation = {-1, 0, 0, 0, 0, 1, 0, -1, 0}, + .orientation = {-1, 0, 0, 0, 0, 1, 0, 1, 0}, }; #endif #if defined (CONFIG_GS_LIS3DH)