ASoC: fsl_esai: introduce SoC specific data
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 15 May 2020 10:10:50 +0000 (18:10 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 May 2020 10:42:19 +0000 (11:42 +0100)
commit6878e75204e1d0420fd8130bad33f88053ba44de
tree9fbb4a5c4826d3d7a3463c06d13c82ab01f0e8cc
parent5ae5eb48ca046adffbdff56a2f297d0896b83186
ASoC: fsl_esai: introduce SoC specific data

Introduce a SoC specific data structure which contains the
differences between the different SoCs.
This makes it easier to support more differences without having
to introduce a new if/else each time.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/c188279975bd216995904f9bf8a84c7887b759a0.1589537601.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c