MLK-13945-3: ASoC: fsl_asrc: support two asrc devices
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 5 Jul 2017 07:29:40 +0000 (15:29 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit13eb9a1abb3688576b7d252d74d802f0eb011424
treead1cb9ae7a4da5234ca7f260d9d77a9bfd3d7a4b
parenta0c17c354475ff84597fdf357766b66ae8f4ebc7
MLK-13945-3: ASoC: fsl_asrc: support two asrc devices

In imx8qm, there is two asrc devices, so using global structure
"miscdevice" will cause error. Each instance should have their
own structure.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
(cherry picked from commit f70f67b04b5351fe6d0d288f62f8050932cf5085)
(cherry picked from commit 8c533278e6f62185b976d6d49f039d87620a4c0e)
sound/soc/fsl/fsl_asrc.h
sound/soc/fsl/fsl_asrc_m2m.c