diff options
author | Prem Sasidharan <psasidharan@nvidia.com> | 2012-07-27 15:22:15 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-02 17:38:18 -0700 |
commit | 34217c931dabd98a4b3a46d424b5758f8538e20f (patch) | |
tree | bed29db90003cb6713fa310eefe0a01cd1637b25 /arch/arm/mach-tegra/board-cardhu.h | |
parent | 6108813876889c49a0373248d6e1cfc34a3831ef (diff) |
arm: tegra: cardhu: Disable ACCELIRQ
Setting MPU_ACCEL_IRQ_GPIO to 0. This helps prevent creation of
device node /dev/accelirq and enable timerirq to provide polling
ticks for the MPU sensors. The MPU sensors are not currently
operating in interrupt mode, the sensors needs to be polled at
regular interval. MPU sensor HAL enables the polling timer in
the absense of /dev/accelirq device node.
Bug 947670
Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com>
Change-Id: I8a2c60da00e7d288ec785aa204bdb3207d717028
Reviewed-on: http://git-master/r/119098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.h')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.h b/arch/arm/mach-tegra/board-cardhu.h index 7c6a132421f0..3dd3d23d9414 100644 --- a/arch/arm/mach-tegra/board-cardhu.h +++ b/arch/arm/mach-tegra/board-cardhu.h @@ -231,7 +231,7 @@ extern struct tegra_uart_platform_data cardhu_irda_pdata; #define MPU_GYRO_BUS_NUM 2 #define MPU_GYRO_ORIENTATION { 0, -1, 0, -1, 0, 0, 0, 0, -1 } #define MPU_ACCEL_NAME "kxtf9" -#define MPU_ACCEL_IRQ_GPIO TEGRA_GPIO_PL1 +#define MPU_ACCEL_IRQ_GPIO 0 /* DISABLE ACCELIRQ: TEGRA_GPIO_PL1 */ #define MPU_ACCEL_ADDR 0x0F #define MPU_ACCEL_BUS_NUM 2 #define MPU_ACCEL_ORIENTATION { 0, -1, 0, -1, 0, 0, 0, 0, -1 } |