From f5441a1cf7d14f0be14b1fadb8e0b55b05b3ef83 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Mon, 23 Nov 2020 15:47:03 +0200 Subject: [PATCH] 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 --- src/include/ipc/dai-imx.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/ipc/dai-imx.h b/src/include/ipc/dai-imx.h index 922018dd9..723cf7234 100644 --- a/src/include/ipc/dai-imx.h +++ b/src/include/ipc/dai-imx.h @@ -37,9 +37,12 @@ struct sof_ipc_dai_sai_params { /* MCLK */ uint16_t reserved1; uint16_t mclk_id; - uint32_t mclk_rate; /* MCLK frequency in Hz */ uint32_t mclk_direction; + uint32_t mclk_rate; /* MCLK frequency in Hz */ + uint32_t fsync_rate; + uint32_t bclk_rate; + /* TDM */ uint32_t tdm_slots; uint32_t rx_slots;