[go: nahoru, domu]

bullhead/audio: specify primary sound card name to be verified by HAL

Change snd_card_name from msm8994-tomtom-mtp-snd-card to msm8994-tomtom-snd-card

Original commit:
commit 5c4687e2bdb6a52fe6b934d89721274060d7aa18
Author: Ravi Kumar Alamanda <ralama@codeaurora.org>
Date:   Mon Jun 29 16:05:52 2015 -0700

    audio: specify primary sound card name to be verified by HAL

    Update audio_platform_info.xml with the primary sound card name
    which is parsed and verified by the audio HAL.

Change-Id: I7d6c750cc7bc6aa0196f40b954b72a47e7761a1b
diff --git a/audio_platform_info.xml b/audio_platform_info.xml
index a24e029..7327cb3 100644
--- a/audio_platform_info.xml
+++ b/audio_platform_info.xml
@@ -42,4 +42,8 @@
         <device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
         <device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
     </backend_names>
+    <config_params>
+        <!-- If sound card name is not known, remove this entry -->
+        <param key="snd_card_name" value="msm8994-tomtom-snd-card"/>
+    </config_params>
 </audio_platform_info>