From c2b9999208173f9f2463eb2f72f3df30c9a82563 Mon Sep 17 00:00:00 2001 From: Narsinga Rao Chella Date: Thu, 15 May 2014 22:45:59 -0700 Subject: [PATCH] hal: update voice PCM device IDs for msm8994 New machine driver has been added for msm8994. Update PCM device IDs for voice use cases accordingly. This change is needed to support voice use cases on msm8994. Change-Id: Iba5f9423fe99668ccfe3a692c2a3148977d4dfc2 --- hal/msm8974/platform.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index ba89c1b2..ff2ae9af 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -243,6 +243,12 @@ enum { #define VOLTE_CALL_PCM_DEVICE 15 #define QCHAT_CALL_PCM_DEVICE 14 #define VOWLAN_CALL_PCM_DEVICE -1 +#elif PLATFORM_MSM8994 +#define VOICE_CALL_PCM_DEVICE 2 +#define VOICE2_CALL_PCM_DEVICE 22 +#define VOLTE_CALL_PCM_DEVICE 14 +#define QCHAT_CALL_PCM_DEVICE 20 +#define VOWLAN_CALL_PCM_DEVICE 36 #else #define VOICE_CALL_PCM_DEVICE 2 #define VOICE2_CALL_PCM_DEVICE 22