Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3886d29 authored by Avinash Vaish's avatar Avinash Vaish Committed by Karthik Reddy Katta
Browse files

hal: add incall music uplink2 pcm id

- There is no LCH tone playback on sub2 since the
  pcm ID and the DAI links are missing for 8974.
- Add pcm id for 8974.

Change-Id: I518d5eb3bfeaddd3b00281db064429087b10a37b
CRs-Fixed: 626562
parent 48a220ae
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -170,7 +170,17 @@ enum {
#define HFP_PCM_RX 5

#define INCALL_MUSIC_UPLINK_PCM_DEVICE 1

#ifdef PLATFORM_MSM8610
#define INCALL_MUSIC_UPLINK2_PCM_DEVICE 14
#elif PLATFORM_MSM8x26
#define INCALL_MUSIC_UPLINK2_PCM_DEVICE 16
#elif PLATFORM_MSM8974
#define INCALL_MUSIC_UPLINK2_PCM_DEVICE 35
#else
#define INCALL_MUSIC_UPLINK2_PCM_DEVICE -1
#endif

#define SPKR_PROT_CALIB_RX_PCM_DEVICE 5
#define SPKR_PROT_CALIB_TX_PCM_DEVICE 25
#define PLAYBACK_OFFLOAD_DEVICE 9