ASoC: rsnd: add SNDRV_PCM_TRIGGER_SUSPEND/RESUME
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 29 Sep 2016 03:09:22 +0000 (03:09 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 29 Sep 2016 18:01:14 +0000 (11:01 -0700)
commit4b9c75eaa4f35504c3ee28d3a354f7b6362dfbe8
treeb29a7a1ab7a8a27bb0b299371185d9eb6cf285eb
parent97b4bc76d9f7ab1fab375bc6d6143804a7bc2256
ASoC: rsnd: add SNDRV_PCM_TRIGGER_SUSPEND/RESUME

This patch adds SNDRV_PCM_TRIGGER_SUSPEND/RESUME.
Otherwise, it breaks rsnd driver internal start/stop counter
when suspend/resume. This issue was reported/tested by Hiep

Tested-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c