History

ASoC: atmel_wm8904: add snd_soc_pm_ops

Sometimes the audio play can not be resumed after it is suspended. Add snd_soc_pm_ops to execute power management operations, then this issue is fixed.

Songjun Wu committed 10 years ago

Commit 50860e11 parent 4bc51451 file · +1 −0Browse files

Unified · Split

sound/soc/atmel/atmel_wm8904.c+1−0
@@ -183,6 +183,7 @@ static struct platform_driver atmel_asoc_wm8904_driver = { · 182 unmodified lines
183183 .driver = {
184184 .name = "atmel-wm8904-audio",
185185 .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids),
186+ .pm = &snd_soc_pm_ops,
186187 },
187188 .probe = atmel_asoc_wm8904_probe,
188189 .remove = atmel_asoc_wm8904_remove,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t