diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-08-22 00:57:12 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2017-08-23 06:19:02 -0400 |
| commit | 0995fb7c9802dd76422db384991f32296f8fbe1f (patch) | |
| tree | 9efc19574db00955d7219493f917e592d6e618f4 | |
| parent | 7b828a35ff834e45e5758a8a3f9d11db0526f9e1 (diff) | |
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>
| -rw-r--r-- | sound/soc/generic/audio-graph-scu-card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/generic/audio-graph-scu-card.c b/sound/soc/generic/audio-graph-scu-card.c index dcd2df37bc3b..da73e5d06688 100644 --- a/sound/soc/generic/audio-graph-scu-card.c +++ b/sound/soc/generic/audio-graph-scu-card.c | |||
| @@ -398,6 +398,7 @@ MODULE_DEVICE_TABLE(of, asoc_graph_of_match); | |||
| 398 | static struct platform_driver asoc_graph_card = { | 398 | static struct platform_driver asoc_graph_card = { |
| 399 | .driver = { | 399 | .driver = { |
| 400 | .name = "asoc-audio-graph-scu-card", | 400 | .name = "asoc-audio-graph-scu-card", |
| 401 | .pm = &snd_soc_pm_ops, | ||
| 401 | .of_match_table = asoc_graph_of_match, | 402 | .of_match_table = asoc_graph_of_match, |
| 402 | }, | 403 | }, |
| 403 | .probe = asoc_graph_card_probe, | 404 | .probe = asoc_graph_card_probe, |
