summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-11-07 20:42:27 +0100
committercodeworkx <codeworkx@cyanogenmod.com>2012-11-07 20:44:28 +0100
commit7c5c195f77ddaca0fc448e86d4602de207a91039 (patch)
tree7a2fe0afaab742ffa57f5d745ef8a46ea1c099fb /audio
parentd7977675231cd79ed2462ecdff5d44ea634cb2f7 (diff)
downloaddevice_samsung_p5100-7c5c195f77ddaca0fc448e86d4602de207a91039.zip
device_samsung_p5100-7c5c195f77ddaca0fc448e86d4602de207a91039.tar.gz
device_samsung_p5100-7c5c195f77ddaca0fc448e86d4602de207a91039.tar.bz2
audio: fix incall headset mic
Change-Id: I789883b8588ea8186f2d8336a01d09d1823fb04e
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index e8014fc..23bd893 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -151,15 +151,20 @@ struct route_setting default_input_disable[] = {
};
struct route_setting headset_input[] = {
- { .ctl_name = "AIF2DAC2L Mixer AIF2 Switch", .intval = 0, },
- { .ctl_name = "AIF2DAC2R Mixer AIF2 Switch", .intval = 0, },
- { .ctl_name = "Headphone ZC Switch", .intval = 0, },
- { .ctl_name = "AIF1DAC1 Volume", .intval = 60, },
- { .ctl_name = "AIF2DAC Volume", .intval = 96, },
- { .ctl_name = "AIF1 Boost Volume", .intval = 0, },
- { .ctl_name = "AIF2 Boost Volume", .intval = 0, },
- { .ctl_name = "DAC1 Volume", .intval = 96, },
- { .ctl_name = "Headphone Volume", .intval = 54, },
+ { .ctl_name = "Headset Mic Switch", .intval = 1, },
+ { .ctl_name = "IN1R Volume", .intval = 9, },
+ { .ctl_name = "MIXINL IN1L Switch", .intval = 0, },
+ { .ctl_name = "MIXINL IN1L Volume", .intval = 1, },
+ { .ctl_name = "MIXINR IN1R Switch", .intval = 1, },
+ { .ctl_name = "MIXINR IN1R Volume", .intval = 1, },
+ { .ctl_name = "MIXINR IN1RP Volume", .intval = 1, },
+ { .ctl_name = "DAC2 Right Sidetone Volume", .intval = 12, },
+ { .ctl_name = "DAC2 Volume", .intval = 96, },
+ { .ctl_name = "AIF2ADC Volume", .intval = 96, },
+ { .ctl_name = "AIF1ADCL Source", .intval = 1, },
+ { .ctl_name = "AIF1ADCR Source", .intval = 1, },
+ { .ctl_name = "AIF2ADCL Source", .intval = 1, },
+ { .ctl_name = "AIF2ADCR Source", .intval = 1, },
{ .ctl_name = NULL, },
};