diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2022-06-17 15:44:35 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:18:09 +0100 |
commit | cd640ca20095ed3b9306981f0064313a54fd4568 (patch) | |
tree | 57419e54b430446d4422b32247b9df5e929427c7 /sound/soc/fsl/fsl_sai.h | |
parent | b4ee8a913e617a2d0f19226225bc025c8640bf34 (diff) | |
download | lwn-cd640ca20095ed3b9306981f0064313a54fd4568.tar.gz lwn-cd640ca20095ed3b9306981f0064313a54fd4568.zip |
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>
Diffstat (limited to 'sound/soc/fsl/fsl_sai.h')
-rw-r--r-- | sound/soc/fsl/fsl_sai.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_sai.h b/sound/soc/fsl/fsl_sai.h index c0b6bc42fc3c..4d657edc9c9f 100644 --- a/sound/soc/fsl/fsl_sai.h +++ b/sound/soc/fsl/fsl_sai.h @@ -258,6 +258,7 @@ struct fsl_sai { struct regmap *regmap; struct clk *bus_clk; struct clk *mclk_clk[FSL_SAI_MCLK_MAX]; + struct resource *res; bool is_consumer_mode; bool is_lsb_first; |