From: 邱建斌 Date: Mon, 16 Apr 2012 12:55:34 +0000 (+0800) Subject: rk30phone: update codec add headset X-Git-Tag: firefly_0821_release~9404 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35a1932f2ce97abac0f13e04e32db611c749781c;p=firefly-linux-kernel-4.4.55.git rk30phone: update codec add headset --- diff --git a/arch/arm/mach-rk30/board-rk30-phone.c b/arch/arm/mach-rk30/board-rk30-phone.c index 38eead30ce09..d4ee353c2341 100755 --- a/arch/arm/mach-rk30/board-rk30-phone.c +++ b/arch/arm/mach-rk30/board-rk30-phone.c @@ -641,7 +641,7 @@ static struct wm8994_pdata wm8994_platform_data = { .gpio_defaults[10] = 0x2100, #endif - .ldo[0] = { RK30_PIN6_PB2, NULL, &wm8994_ldo1_data }, /* XM0FRNB_2 */ + .ldo[0] = { RK30_PIN3_PA6, NULL, &wm8994_ldo1_data,GPIO3A6_SDMMC0RSTNOUT_NAME, GPIO3A_GPIO3A6}, /* XM0FRNB_2 */ .ldo[1] = { 0, NULL, &wm8994_ldo2_data }, .micdet_irq = 0, @@ -655,7 +655,7 @@ static struct wm8994_pdata wm8994_platform_data = { #ifdef CONFIG_RK_HEADSET_DET #define HEADSET_GPIO RK29_PIN4_PD2 struct rk_headset_pdata rk_headset_info = { - .Headset_gpio = RK30_PIN6_PA1, + .Headset_gpio = RK30_PIN6_PA5, .headset_in_type= HEADSET_IN_HIGH, .Hook_gpio = RK30_PIN1_PB2,//Detection Headset--Must be set .hook_key_code = KEY_MEDIA,