diff options
Diffstat (limited to 'sound/pci/hda/hda_controller.c')
-rw-r--r-- | sound/pci/hda/hda_controller.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 80016b7b6849..a9768d606da2 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -1064,6 +1064,15 @@ void azx_stop_chip(struct azx *chip) } EXPORT_SYMBOL_GPL(azx_stop_chip); +void azx_suspend_streams(struct azx *chip) +{ + struct azx_pcm *apcm; + + list_for_each_entry(apcm, &chip->pcm_list, list) + snd_pcm_suspend_all(apcm->pcm); +} +EXPORT_SYMBOL_GPL(azx_suspend_streams); + /* * interrupt handler */ |