OSDN Git Service

ASoC: fsl-asoc-card: Support new property fsl, asrc-format
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 16 Apr 2020 12:25:33 +0000 (20:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2020 15:34:07 +0000 (16:34 +0100)
commit859e364302c510cfdd9abda13a3c4c1d1bc68c57
tree693828ff3f43f49e1b8543fd66e4a9b0c687f6e7
parentb84b4c9a688d803b0e7cf91fec9a5d8b3ba47768
ASoC: fsl-asoc-card: 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/02f53d5512b9acd3492e2acdd5e0ba3113f18009.1587038908.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c