MLK-22168: fsl_easrc:Add error handle for format check
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 4 Jul 2019 07:29:57 +0000 (15:29 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 19 Jul 2019 10:25:29 +0000 (18:25 +0800)
commit6a0b7a1c950b36258257ac79e0c72646c93f3b0b
tree9f77621a5910b14563fed5f373c9bb649ffa9bfa
parent6adad8806a9edd07930d5a460a22779c52dad858
MLK-22168: fsl_easrc:Add error handle for format check

Add error handler for format check, if the format is not supported
should return error, otherwise it cause "input DMA task timeout"

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
sound/soc/fsl/fsl_easrc.c
sound/soc/fsl/fsl_easrc_m2m.c