mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "soc: swr-mstr: Fix port collision during wsa playback"
This commit is contained in:
commit
1e509a5e2c
2 changed files with 8 additions and 5 deletions
|
|
@ -843,7 +843,8 @@ static void swrm_copy_data_port_config(struct swr_master *master, u8 bank)
|
|||
port_req->dev_num, 0x00,
|
||||
SWRS_DP_BLOCK_CONTROL_1(slv_id));
|
||||
}
|
||||
if (mport->blk_pack_mode != SWR_INVALID_PARAM) {
|
||||
if (mport->blk_pack_mode != SWR_INVALID_PARAM
|
||||
&& swrm->master_id != MASTER_ID_WSA) {
|
||||
reg[len] = SWRM_CMD_FIFO_WR_CMD;
|
||||
val[len++] =
|
||||
SWR_REG_VAL_PACK(mport->blk_pack_mode,
|
||||
|
|
@ -871,8 +872,10 @@ static void swrm_copy_data_port_config(struct swr_master *master, u8 bank)
|
|||
}
|
||||
value = ((mport->req_ch)
|
||||
<< SWRM_DP_PORT_CTRL_EN_CHAN_SHFT);
|
||||
value |= ((mport->offset2)
|
||||
<< SWRM_DP_PORT_CTRL_OFFSET2_SHFT);
|
||||
|
||||
if (mport->offset2 != SWR_INVALID_PARAM)
|
||||
value |= ((mport->offset2)
|
||||
<< SWRM_DP_PORT_CTRL_OFFSET2_SHFT);
|
||||
value |= ((mport->offset1)
|
||||
<< SWRM_DP_PORT_CTRL_OFFSET1_SHFT);
|
||||
value |= mport->sinterval;
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
struct port_params wsa_frame_superset[SWR_MSTR_PORT_LEN] = {
|
||||
{7, 1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{31, 2, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{63, 12, 31, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{63, 12, 31, 0xFF, 0xFF, 0xFF, 0x1, 0xFF, 0xFF},
|
||||
{7, 6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{31, 18, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{63, 13, 31, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{63, 13, 31, 0xFF, 0xFF, 0xFF, 0x1, 0xFF, 0xFF},
|
||||
{15, 7, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
{15, 10, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue