From 33a278ebc55f440849810550e1b2fcec0f726b80 Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Tue, 26 Jan 2021 10:24:22 +0530 Subject: [PATCH] hal: msm8974: Add audio platform info file for yupik idp Add audio platform info file for yupik idp. Change-Id: I2acb261e158d2058d2311ae320ecf8bd8b2c748b Signed-off-by: Vatsal Bucha --- hal/msm8974/platform.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c index 4ebe8cd8..86c1cc90 100755 --- a/hal/msm8974/platform.c +++ b/hal/msm8974/platform.c @@ -75,6 +75,7 @@ #define PLATFORM_INFO_XML_PATH_SHIMA_IDP "audio_platform_info_shimaidp.xml" #define PLATFORM_INFO_XML_PATH_SHIMA_QRD "audio_platform_info_shimaqrd.xml" #define PLATFORM_INFO_XML_PATH_YUPIK_QRD "audio_platform_info_yupikqrd.xml" +#define PLATFORM_INFO_XML_PATH_YUPIK_IDP "audio_platform_info_yupikidp.xml" #define PLATFORM_INFO_XML_PATH_SCUBA_IDP "audio_platform_info_scubaidp.xml" #define PLATFORM_INFO_XML_PATH_SCUBA_QRD "audio_platform_info_scubaqrd.xml" @@ -3493,6 +3494,10 @@ void *platform_init(struct audio_device *adev) sizeof("lahaina-shimaqrd-snd-card"))) { platform_info_init(get_xml_file_path(PLATFORM_INFO_XML_PATH_SHIMA_QRD), my_data, PLATFORM); + } else if (!strncmp(snd_card_name, "lahaina-yupikidp-snd-card", + sizeof("lahaina-yupikidp-snd-card"))) { + platform_info_init(get_xml_file_path(PLATFORM_INFO_XML_PATH_YUPIK_IDP), + my_data, PLATFORM); } else if (!strncmp(snd_card_name, "lahaina-yupikqrd-snd-card", sizeof("lahaina-yupikqrd-snd-card"))) { platform_info_init(get_xml_file_path(PLATFORM_INFO_XML_PATH_YUPIK_QRD),