mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
soc: swr: enable PCM IN/OUT when using pcm interface
Enable PCM IN/OUT when using pcm interface. Change-Id: Iff7b234a6d188802619cff112fa9bb54804ac77d Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
parent
b8e5bd2fc8
commit
b72b79a6b0
1 changed files with 4 additions and 0 deletions
|
|
@ -690,6 +690,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