MLK-22340-5: ASoC: imx-pcm-rpmsg: enable ignore_suspend for LPA
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 29 Jul 2019 07:02:46 +0000 (15:02 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 16 Aug 2019 05:45:06 +0000 (13:45 +0800)
commit31d5dfa44c209c778ba2bfaed82f552118554af5
treed40fadaffb706ad12a80a3338a8298fd8ea45896
parentc5c41138d5c8d0c961a7a3f3acd3e185189646d6
MLK-22340-5: ASoC: imx-pcm-rpmsg: enable ignore_suspend for LPA

In LPA drain state, if runtime->status->state is SUSPEND, after resume,
ALSA would exit drain mode directly, that cause some data in end
of song is missed.

This patch is to enable ignore_suspend flags that
the runtime->status->state will be not in SUSPEND always.

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