From: lw@rock-chips.com Date: Tue, 13 Dec 2011 06:08:44 +0000 (+0800) Subject: modify ak8975 orientation for phonesdk X-Git-Tag: firefly_0821_release~9712^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6c49a6abe8fdf3716d9e3a0625d549bbd0e62a67;p=firefly-linux-kernel-4.4.55.git modify ak8975 orientation for phonesdk --- diff --git a/arch/arm/mach-rk29/board-rk29-phonesdk.c b/arch/arm/mach-rk29/board-rk29-phonesdk.c index b72efe8bb629..ff58befc20e2 100755 --- a/arch/arm/mach-rk29/board-rk29-phonesdk.c +++ b/arch/arm/mach-rk29/board-rk29-phonesdk.c @@ -621,7 +621,7 @@ static struct ext_slave_platform_data inv_mpu_kxtf9_data = { static struct ext_slave_platform_data inv_mpu_ak8975_data = { .bus = EXT_SLAVE_BUS_PRIMARY, .adapt_num = 0, - .orientation = {0, 1, 0, -1, 0, 0, 0, 0, 1}, + .orientation = {-1, 0, 0, 0, -1, 0, 0, 0, 1}, }; #endif