Skip to content

Commit 0995fb7

Browse files
morimotobroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 7b828a3 commit 0995fb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/generic/audio-graph-scu-card.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ MODULE_DEVICE_TABLE(of, asoc_graph_of_match);
398398
static struct platform_driver asoc_graph_card = {
399399
.driver = {
400400
.name = "asoc-audio-graph-scu-card",
401+
.pm = &snd_soc_pm_ops,
401402
.of_match_table = asoc_graph_of_match,
402403
},
403404
.probe = asoc_graph_card_probe,

0 commit comments

Comments
 (0)