Skip to content

Commit

Permalink
hal: add incall music uplink2 pcm id
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Avinash Vaish authored and hyperb1iss committed Oct 4, 2014
1 parent e0b8aee commit c752cee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hal/msm8974/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,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 32
#define PLAYBACK_OFFLOAD_DEVICE 9
Expand Down

0 comments on commit c752cee

Please sign in to comment.