ipc: dai: Align sof_ipc_dai_sai_params with kernel

We add fsync_rate, bclk_rate because now we
actually need them.

Also, notice that mclk_rate was moved near the other rates
fields.

I think this was broken from the beginning but didn't
show up as a bug because SAI is used in consumer mode
and the clock is provided by the codec.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2020-11-23 15:47:03 +02:00 committed by Daniel Baluta
parent d2ecb572e3
commit f5441a1cf7
1 changed files with 4 additions and 1 deletions

View File

@ -37,9 +37,12 @@ struct sof_ipc_dai_sai_params {
/* MCLK */ /* MCLK */
uint16_t reserved1; uint16_t reserved1;
uint16_t mclk_id; uint16_t mclk_id;
uint32_t mclk_rate; /* MCLK frequency in Hz */
uint32_t mclk_direction; uint32_t mclk_direction;
uint32_t mclk_rate; /* MCLK frequency in Hz */
uint32_t fsync_rate;
uint32_t bclk_rate;
/* TDM */ /* TDM */
uint32_t tdm_slots; uint32_t tdm_slots;
uint32_t rx_slots; uint32_t rx_slots;