diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-08-22 04:56:06 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-23 11:18:56 +0100 |
commit | b4e0180306f10a9d808b855dd77cdd0d7ae4f3fa (patch) | |
tree | 0bfa2dab4a30821cbffb583ca730d6b0ba4187c4 /sound/soc/generic | |
parent | d0148eb4a41e65ac95bfaaa13c75364b95b1e052 (diff) |
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>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r-- | sound/soc/generic/simple-scu-card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-scu-card.c b/sound/soc/generic/simple-scu-card.c index 0bb3da755532..48606c63562a 100644 --- a/sound/soc/generic/simple-scu-card.c +++ b/sound/soc/generic/simple-scu-card.c @@ -300,6 +300,7 @@ MODULE_DEVICE_TABLE(of, asoc_simple_of_match); static struct platform_driver asoc_simple_card = { .driver = { .name = "simple-scu-audio-card", + .pm = &snd_soc_pm_ops, .of_match_table = asoc_simple_of_match, }, .probe = asoc_simple_card_probe, |