summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-11 16:42:02 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-02-11 16:42:02 +0000
commite65753d603a162d26afb557f3232694550372060 (patch)
tree1a793fd85beb53915e680e7b9d0bda6c8c0167b5
parent10624d6ec3acb9ff72a1e56c3ae5ee89dac9d454 (diff)
downloaddevice_samsung_i9305-e65753d603a162d26afb557f3232694550372060.zip
device_samsung_i9305-e65753d603a162d26afb557f3232694550372060.tar.gz
device_samsung_i9305-e65753d603a162d26afb557f3232694550372060.tar.bz2
audio: remove invalid mic controls
-rw-r--r--audio/audio_hw.c2
-rw-r--r--audio/audio_hw.h1
-rw-r--r--configs/tiny_hw.xml4
3 files changed, 1 insertions, 6 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index b687139..aad604e 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -3227,7 +3227,7 @@ struct audio_module HAL_MODULE_INFO_SYM = {
.module_api_version = AUDIO_MODULE_API_VERSION_0_1,
.hal_api_version = HARDWARE_HAL_API_VERSION,
.id = AUDIO_HARDWARE_MODULE_ID,
- .name = "T0LTE audio HW HAL",
+ .name = "M3 audio HW HAL",
.author = "The CyanogenMod Project",
.methods = &hal_module_methods,
},
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index 30bdf01..4fba102 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -188,7 +188,6 @@ struct route_setting voicecall_default_disable[] = {
struct route_setting default_input[] = {
{ .ctl_name = "Main Mic Switch", .intval = 1, },
- { .ctl_name = "MainMicBias Mode", .intval = 1, },
{ .ctl_name = "IN2L Volume", .intval = 28, },
{ .ctl_name = "MIXINL IN2L Switch", .intval = 1, },
{ .ctl_name = "MIXINL IN2L Volume", .intval = 0, },
diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml
index 365f5d1..f183416 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -265,7 +265,6 @@ We are able to have most of our routing static so do that
<device name="builtin-mic">
<path name="on">
<ctl name="Main Mic Switch" val="1"/>
- <ctl name="MainMicBias Mode" val="1"/>
<ctl name="IN2L Volume" val="22"/>
<ctl name="MIXINL IN2L Switch" val="1"/>
<ctl name="MIXINL IN2L Volume" val="1"/>
@@ -276,7 +275,6 @@ We are able to have most of our routing static so do that
</path>
<path name="off">
<ctl name="Main Mic Switch" val="0"/>
- <ctl name="MainMicBias Mode" val="0"/>
<ctl name="MIXINL IN2L Switch" val="0"/>
<ctl name="MIXINL IN2L Volume" val="0"/>
<ctl name="IN2L Volume" val="10"/>
@@ -285,7 +283,6 @@ We are able to have most of our routing static so do that
<device name="back-mic">
<path name="on">
<ctl name="Sub Mic Switch" val="1"/>
- <ctl name="SubMicBias Mode" val="1"/>
<ctl name="IN1R Volume" val="22"/>
<ctl name="MIXINR IN1R Switch" val="1"/>
<ctl name="MIXINR IN1R Volume" val="1"/>
@@ -296,7 +293,6 @@ We are able to have most of our routing static so do that
</path>
<path name="off">
<ctl name="Sub Mic Switch" val="0"/>
- <ctl name="SubMicBias Mode" val="0"/>
<ctl name="MIXINR IN1R Switch" val="0"/>
<ctl name="IN1R Volume" val="10"/>
</path>