mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "soc: swr: enable PCM IN/OUT when using pcm interface"
This commit is contained in:
commit
427dd0d8ed
1 changed files with 4 additions and 0 deletions
|
|
@ -694,6 +694,10 @@ static int swrm_pcm_port_config(struct swr_mstr_ctrl *swrm, u8 port_num,
|
|||
SWRM_DOUT_DP_PCM_PORT_CTRL(port_num));
|
||||
swr_master_write(swrm, reg_addr, enable);
|
||||
|
||||
if (enable)
|
||||
swr_master_write(swrm, SWRM_COMP_FEATURE_CFG, 0x1E);
|
||||
else
|
||||
swr_master_write(swrm, SWRM_COMP_FEATURE_CFG, 0x6);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue