From: lw Date: Tue, 20 Dec 2011 03:28:30 +0000 (+0800) Subject: td8801:modify gsensor orientation X-Git-Tag: firefly_0821_release~9710^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eb6185eb408757457179f6db4ba244df46daadda;p=firefly-linux-kernel-4.4.55.git td8801:modify gsensor orientation --- diff --git a/arch/arm/mach-rk29/board-rk29-td8801_v2.c b/arch/arm/mach-rk29/board-rk29-td8801_v2.c index 032c23796ac3..7eec138bbb45 100755 --- a/arch/arm/mach-rk29/board-rk29-td8801_v2.c +++ b/arch/arm/mach-rk29/board-rk29-td8801_v2.c @@ -674,9 +674,9 @@ static struct bma023_platform_data bma023_info = { .model= 023, .swap_xy = 0, .swap_xyz = 1, - .orientation = {1,0,0, + .orientation = {-1,0,0, 0,0,1, - 0,1,0}, + 0,-1,0}, .init_platform_hw= bma023_init_platform_hw, };