rk30 phone: modify headset detect irq level for actul device
author宋秀杰 <sxj@rock-chips.com>
Mon, 28 May 2012 15:16:16 +0000 (23:16 +0800)
committer宋秀杰 <sxj@rock-chips.com>
Mon, 28 May 2012 15:16:16 +0000 (23:16 +0800)
arch/arm/mach-rk30/board-rk30-phone-loquat.c

index 36a7af0d79305efb1d58ddbf9dc317bfa6a173f2..6a5d6bf9a53d095c535c71beebb5a0483fc8567a 100755 (executable)
@@ -929,7 +929,7 @@ static int rk_headset_io_init(int gpio, char *iomux_name, int iomux_mode)
 
 struct rk_headset_pdata rk_headset_info = {
        .Headset_gpio           = RK30_PIN0_PD3,
-       .headset_in_type = HEADSET_IN_HIGH,
+       .headset_in_type = HEADSET_IN_LOW,
        .Hook_adc_chn = 2,
        .hook_key_code = KEY_MEDIA,
        .headset_gpio_info = {GPIO0D3_I2S22CHLRCKTX_SMCADVN_NAME, GPIO0D_GPIO0D3},