ASoC: rsnd: enable/disable ADG when suspend/resume timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 7 Dec 2016 00:29:02 +0000 (00:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 7 Dec 2016 15:47:45 +0000 (15:47 +0000)
commitc2d3171847611e8a33d3e10a9942f6c065d05c1f
tree8c23203c678e225efffa0b5742b3b8bd71fbb11e
parent6bf66b1c35870e08359cb03c49a94e7fef529ef5
ASoC: rsnd: enable/disable ADG when suspend/resume timing

Current rsnd driver enables ADG clock when .probe timing,
but it breaks sound after Suspend/Resume. These should be setups
every suspend/resume timing too.
This patch is tested on R-Car Gen3 Salvator-X board

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h