ASoC: fsl_mqs: simplify the code with adding fsl_mqs_soc_data
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 25 May 2022 05:23:41 +0000 (13:23 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:38:53 +0000 (12:38 +0100)
commit063c915502b914a5a621458c763dfc28286f7606
tree5fa43977cd00d3e247ef5312be3a6a248340b320
parent8366d8ca0f7805be6cffe1e242822565aed509ae
ASoC: fsl_mqs: simplify the code with adding fsl_mqs_soc_data

Add soc specific data struct fsl_mqs_soc_data, move the
definition of control register, each function bits to it,
then the code can be simplified.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1653456221-21613-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_mqs.c