ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 27 Sep 2019 01:46:09 +0000 (09:46 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:17:45 +0000 (12:17 +0100)
commit4bf62571070dd1021556e275d9221f736b2ffcf3
tree2147bc5d2082cfbc90141bb6d4766e130803fc3f
parent5422737192d907c6fd181479c25690e7f371e9dd
ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width

snd_pcm_format_t is more formal than enum asrc_word_width, which has
two property, width and physical width, which is more accurate than
enum asrc_word_width. So it is better to use in(out)put_format
instead of in(out)put_word_width.

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