MLK-14258: ASoC: imx-pcm-rpmsg: sync sample rate with tx and rx
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 24 Feb 2017 03:53:46 +0000 (11:53 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:56 +0000 (15:21 -0500)
commitfa0f8c98d3a5cc0e7cee2cc2e98358feded77698
tree5f785b9cbede9872eea420bb225c6ffd5f60525e
parent375d109c7a5de87305d8ddd7b41d5ad7b90b4061
MLK-14258: ASoC: imx-pcm-rpmsg: sync sample rate with tx and rx

In suspend and resume, the M4 side will reset hw parameter for tx
and rx, when only tx is working, the parameter of rx is a old value,
which will cause the parameter is not sync with tx and rx.
currently the M4 audio can only work in sync mode, so set both
parameter in same time.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_rpmsg_i2s.h
sound/soc/fsl/imx-pcm-rpmsg.c