mirror of https://github.com/thesofproject/sof.git
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:
parent
d2ecb572e3
commit
f5441a1cf7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue