board enterprise: add HP detect GPIO to MAX98088
Nikesh Oswal [Mon, 10 Sep 2012 09:31:26 +0000 (14:31 +0530)]
Bug 1044921

Change-Id: Ie8c42af53304fc1cac1a8633eddc6eff1d2c9ce8
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/131051
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

arch/arm/mach-tegra/board-enterprise.c

index b939586..fe872bd 100644 (file)
@@ -431,6 +431,7 @@ static struct pn544_i2c_platform_data nfc_pdata = {
 static struct i2c_board_info __initdata max98088_board_info = {
        I2C_BOARD_INFO("max98088", 0x10),
        .platform_data = &enterprise_max98088_pdata,
+       .irq = TEGRA_GPIO_HP_DET,
 };
 
 static struct i2c_board_info __initdata enterprise_codec_aic326x_info = {