ASoC: audio-graph-card: Add pm callbacks to platform driver
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Aug 2017 04:56:44 +0000 (04:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2017 10:18:59 +0000 (11:18 +0100)
commit7b828a35ff834e45e5758a8a3f9d11db0526f9e1
treead4f16c624a9768c17c0085b45a9aa5e04e80900
parentb4e0180306f10a9d808b855dd77cdd0d7ae4f3fa
ASoC: audio-graph-card: Add pm callbacks to platform driver

Set snd_soc_pm_ops for the pm ops to make sure that the ASoC level of PM
operations are going to happen. This is needed to get suspend/resume
working correctly when the audio is using audio-graph-card.

Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c