MLK-20277-1: ASoC: imx-pcm-rpmsg: reset the period index at stop
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 8 Nov 2018 07:07:13 +0000 (15:07 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf4184608bde9cc7bdf96be74cb84f5870ef90b1a
tree7c8dd109405e425609f68063489c30c3c78eccae
parent7ed91024ff70d1a3d4894a8eaa646b39e5ad59ac
MLK-20277-1: ASoC: imx-pcm-rpmsg: reset the period index at stop

With the case that underrun happened, the aplay will trigger
stop and start, if the period index is not reset at stop, the
counter of period will be wrong

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
sound/soc/fsl/imx-pcm-rpmsg.c