soc: soundwire: change ssp period based on frame shape

Change SSP period based on soundwire bus clock rate and frame shape
to avoid any synchronization issues.

Change-Id: I376958c6b92eca28b857c4c7c9948b1e56818657
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2019-10-17 05:38:40 +05:30
parent f138524159
commit ac0ae1c298
2 changed files with 45 additions and 4 deletions

View File

@@ -140,6 +140,7 @@ struct swr_mstr_ctrl {
int wake_irq;
int version;
int mclk_freq;
int bus_clk;
u32 num_dev;
int slave_status;
struct swrm_mports mport_cfg[SWR_MAX_MSTR_PORT_NUM];