MLK-21107-1: ASoC: Fix timer wake up system after suspend
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 7 Mar 2019 03:09:17 +0000 (11:09 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit7bf6d313186390638204d04568254b3fc1fa136b
tree912841335240100720a97ffa6b0e78ccfc5557e7
parenteb422681ffa4ed7edd45a12f8d5078ca3b4759ec
MLK-21107-1: ASoC: Fix timer wake up system after suspend

Fixes commit 4028bd0f76fd ("MLK-21002-2: ASoC: imx-pcm-rpmsg: don't
remove timer at suspend")

if the timer isn't removed at suspend, there will be interrupt
from M4 side when the period size is small to wake up system quickly
So we need to revert the previous fix and add timer in resume state

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit a23d1df081f1ed33bc8dc7fffc42d1dfa3db2366)
sound/soc/fsl/imx-pcm-rpmsg.c