summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-01 12:53:09 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-01 12:53:09 +0200
commitddfc56bfd266354cc392530acace2eb9e5ae4e25 (patch)
tree5046bdba0f3f5c12b299b1519dd6999feb7cbdbc
parent4a1be6e39e5c072203c593535486c2cd4b871a66 (diff)
downloaddevice_samsung_p3110-ddfc56bfd266354cc392530acace2eb9e5ae4e25.zip
device_samsung_p3110-ddfc56bfd266354cc392530acace2eb9e5ae4e25.tar.gz
device_samsung_p3110-ddfc56bfd266354cc392530acace2eb9e5ae4e25.tar.bz2
p3110: add dock support
Change-Id: I4174b2caa6cc48c354a98176619f79b092ecd654
-rw-r--r--configs/audio_policy.conf2
-rw-r--r--configs/tiny_hw.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/audio_policy.conf b/configs/audio_policy.conf
index 23c308c..f4772f8 100644
--- a/configs/audio_policy.conf
+++ b/configs/audio_policy.conf
@@ -26,7 +26,7 @@ audio_hw_modules {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
- devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO
+ devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
deep_buffer {
diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml
index 05bd97c..db35b64 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -167,7 +167,7 @@ We are able to have most of our routing static so do that
<ctl name="AIF2DAC2R Mixer AIF1.1 Switch" val="0"/>
</path>
</device>
-<device name="analog-dock">
+<device name="dock">
<path name="on">
<ctl name="LINEOUT1N Switch" val="1"/>
<ctl name="LINEOUT1P Switch" val="1"/>