OSDN Git Service

ASoC: simple-scu-card: Add pm callbacks to platform driver
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Aug 2017 04:56:06 +0000 (04:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Aug 2017 10:18:56 +0000 (11:18 +0100)
commitb4e0180306f10a9d808b855dd77cdd0d7ae4f3fa
tree0bfa2dab4a30821cbffb583ca730d6b0ba4187c4
parentd0148eb4a41e65ac95bfaaa13c75364b95b1e052
ASoC: simple-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 simple-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/simple-scu-card.c