Skip to content

Commit

Permalink
ASoC: audio-graph-scu-card: Add pm callbacks to platform driver
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
morimoto authored and broonie committed Aug 23, 2017
1 parent 7b828a3 commit 0995fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/generic/audio-graph-scu-card.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ MODULE_DEVICE_TABLE(of, asoc_graph_of_match);
static struct platform_driver asoc_graph_card = {
.driver = {
.name = "asoc-audio-graph-scu-card",
.pm = &snd_soc_pm_ops,
.of_match_table = asoc_graph_of_match,
},
.probe = asoc_graph_card_probe,
Expand Down

0 comments on commit 0995fb7

Please sign in to comment.