OSDN Git Service

ASoC: fsl_asrc: Support new property fsl,asrc-format
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 16 Apr 2020 12:25:34 +0000 (20:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2020 15:34:08 +0000 (16:34 +0100)
commit4520af41fd21863d026d53c7e1eb987509cb3c24
treeafeec9f7f4b393b294e5b87607561c4a72f6b2c9
parent859e364302c510cfdd9abda13a3c4c1d1bc68c57
ASoC: fsl_asrc: Support new property fsl,asrc-format

In order to align with new ESARC, we add new property fsl,asrc-format.
The fsl,asrc-format can replace the fsl,asrc-width, driver
can accept format from devicetree, don't need to convert it to
format through width.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/2be9664768f32982ba4f71e49749f7390096ac9f.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_dma.c