From: wuhao Date: Sat, 26 Jan 2013 13:51:10 +0000 (+0800) Subject: rk3188 ds1006h:fix mma8452 X-Git-Tag: firefly_0821_release~7750 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07b248fc6deae1ccff9d0fa867b9f1f4b1f603c7;p=firefly-linux-kernel-4.4.55.git rk3188 ds1006h:fix mma8452 --- diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index f78397258370..2efcfa45de04 100755 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -233,7 +233,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)