asoc: swrm: disable bus reset based on swrm verison
Bus reset is creating mismatch in interrupt generation sequence and leading to audio playback mute. Disabling bus reset for soundwire master version 1.5 Change-Id: I1d41a8d11d1f86c8a538f0b8d234bb6d001268ad Signed-off-by: Vijay Kumar Maddula <quic_vmaddula@quicinc.com>
This commit is contained in:
parent
5b442f55ec
commit
40946c4d07
@ -3165,7 +3165,9 @@ static int swrm_runtime_resume(struct device *dev)
|
||||
}
|
||||
swr_master_write(swrm, SWRM_COMP_SW_RESET, 0x01);
|
||||
swr_master_write(swrm, SWRM_COMP_SW_RESET, 0x01);
|
||||
swr_master_write(swrm, SWRM_MCP_BUS_CTRL, 0x01);
|
||||
if (swrm->version > SWRM_VERSION_1_5)
|
||||
swr_master_write(swrm, SWRM_MCP_BUS_CTRL, 0x01);
|
||||
|
||||
swrm_master_init(swrm);
|
||||
/* wait for hw enumeration to complete */
|
||||
usleep_range(100, 105);
|
||||
|
Loading…
Reference in New Issue
Block a user