mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
ASoC: madera: Add slimbus TX channel.
Rearrange Madera codec slim bus map to use channel 131 as 4th channel for an audio capture. Mot-CRs-fixed: (CR) Change-Id: I6917ad47f3b33e655ff28304cb360e5ec2a17145 Signed-off-by: Vlad.Karpovich <Vlad.Karpovich@cirrus.com> Reviewed-on: https://gerrit.mot.com/1151551 Reviewed-on: https://gerrit.mot.com/1291626 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Seungyoon Lee <yoon@motorola.com> Reviewed-by: Vitor Queiroz Albuquerque <vitoralb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
69b1495ecf
commit
b777edbce7
1 changed files with 4 additions and 3 deletions
|
|
@ -52,18 +52,19 @@ static void madera_slim_fixup_prop(struct slim_ch *prop,
|
|||
|
||||
#define TX_STREAM_1 128
|
||||
#define TX_STREAM_2 132
|
||||
#define TX_STREAM_3 131
|
||||
#define TX_STREAM_3 134
|
||||
|
||||
#define RX_STREAM_1 144
|
||||
#define RX_STREAM_2 146
|
||||
#define RX_STREAM_3 148
|
||||
|
||||
static u32 rx_porth1[2], rx_porth2[2], rx_porth3[2];
|
||||
static u32 tx_porth1[3], tx_porth2[2], tx_porth3[1];
|
||||
static u32 tx_porth1[4], tx_porth2[2], tx_porth3[1];
|
||||
static u16 rx_handles1[] = { RX_STREAM_1, RX_STREAM_1 + 1 };
|
||||
static u16 rx_handles2[] = { RX_STREAM_2, RX_STREAM_2 + 1 };
|
||||
static u16 rx_handles3[] = { RX_STREAM_3, RX_STREAM_3 + 1 };
|
||||
static u16 tx_handles1[] = { TX_STREAM_1, TX_STREAM_1 + 1, TX_STREAM_1 + 2};
|
||||
static u16 tx_handles1[] = { TX_STREAM_1, TX_STREAM_1 + 1,
|
||||
TX_STREAM_1 + 2, TX_STREAM_1 + 3 };
|
||||
static u16 tx_handles2[] = { TX_STREAM_2, TX_STREAM_2 + 1 };
|
||||
static u16 tx_handles3[] = { TX_STREAM_3 };
|
||||
static u16 rx_group1, rx_group2, rx_group3;
|
||||
|
|
|
|||
Loading…
Reference in a new issue