summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-01 12:53:25 +0200
committerDaniel Hillenbrand <codeworkx@cyanogenmod.org>2013-06-01 12:54:06 +0200
commit1f251f3295cea529049b537ba72f9031ee359814 (patch)
treee829f2bc531c64fde8195572f936efe27d5a4f75
parentb82e369d1083629fd7e57b460eb92acea4db0f29 (diff)
downloaddevice_samsung_p5110-1f251f3295cea529049b537ba72f9031ee359814.zip
device_samsung_p5110-1f251f3295cea529049b537ba72f9031ee359814.tar.gz
device_samsung_p5110-1f251f3295cea529049b537ba72f9031ee359814.tar.bz2
p5110: add dock support
Change-Id: Id161cbaef1a6602d09bbb5363d33bb4d91029b81
-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 924811f..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|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET
+ 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 2d3e32e..d9056d9 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -144,7 +144,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"/>