hal: Add chipset specific HFP device IDs

Different chipsets have different device IDs as the front end
dai links are specific to chipsets. Ensure that the right device
IDs are used based on the chipset.

CRs-Fixed: 611132
Change-Id: If7d1a0de30653ed85d52bcb35fd13b0cc7282657
This commit is contained in:
Satya Krishna Pindiproli 2014-02-11 15:59:58 +05:30
parent 5e8824497d
commit 813feda6fe
1 changed files with 8 additions and 2 deletions

View File

@ -168,8 +168,6 @@ enum {
#define FM_PLAYBACK_PCM_DEVICE 5
#define FM_CAPTURE_PCM_DEVICE 6
#define HFP_PCM_RX 5
#define HFP_SCO_RX 23
#define HFP_ASM_RX_TX 24
#define INCALL_MUSIC_UPLINK_PCM_DEVICE 1
#define INCALL_MUSIC_UPLINK2_PCM_DEVICE 16
@ -213,6 +211,14 @@ enum {
#define QCHAT_CALL_PCM_DEVICE 20
#endif
#ifdef PLATFORM_MSM8x26
#define HFP_SCO_RX 28
#define HFP_ASM_RX_TX 29
#else
#define HFP_SCO_RX 23
#define HFP_ASM_RX_TX 24
#endif
#define LIB_CSD_CLIENT "libcsd-client.so"
/* CSD-CLIENT related functions */
typedef int (*init_t)();