]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_sai: Make res a member of struct fsl_sai
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 17 Jun 2022 07:44:35 +0000 (15:44 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:18:09 +0000 (13:18 +0100)
commitdcc868954a6f5112d9f8196e482c5b67a52ff55e
tree57419e54b430446d4422b32247b9df5e929427c7
parentc0cc43bf837855bce1a14e4622177bf6ca497b45
ASoC: fsl_sai: Make res a member of struct fsl_sai

The resource info need to be accessed by hw_params()
function for multi fifo case, the start address may
be not the FIFO0. So move it to be a member of
struct fsl_sai.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1655451877-16382-6-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h