OSDN Git Service

ASoC: fsl_asrc: Move common definition to fsl_asrc_common
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 16 Apr 2020 12:25:35 +0000 (20:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2020 15:34:09 +0000 (16:34 +0100)
commitbe7bd03f0201b5a513ced98c08444a140eab92ea
treea7c0ea45a95f277bb1eccd5434fd1615b25ea6e5
parent4520af41fd21863d026d53c7e1eb987509cb3c24
ASoC: fsl_asrc: Move common definition to fsl_asrc_common

There is a new ASRC included in i.MX serial platform, there
are some common definition can be shared with each other.
So move the common definition to a separate header file.

And add fsl_asrc_pair_priv and fsl_asrc_priv for
the variable specific for the module, which can be used
internally.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/7106993928ea9e9720e6b42ec601871103155b1c.1587038908.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c
sound/soc/fsl/fsl_asrc.h
sound/soc/fsl/fsl_asrc_common.h [new file with mode: 0644]
sound/soc/fsl/fsl_asrc_dma.c