OSDN Git Service

ASoC: audio-graph-scu-card: Add pm callbacks to platform driver
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Aug 2017 04:57:12 +0000 (04:57 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2017 10:19:02 +0000 (11:19 +0100)
commit0995fb7c9802dd76422db384991f32296f8fbe1f
tree9efc19574db00955d7219493f917e592d6e618f4
parent7b828a35ff834e45e5758a8a3f9d11db0526f9e1
ASoC: audio-graph-scu-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-scu-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-scu-card.c