.. | .. |
---|
475 | 475 | } |
---|
476 | 476 | EXPORT_SYMBOL_GPL(snd_hdac_ext_stream_get_spbmaxfifo); |
---|
477 | 477 | |
---|
478 | | - |
---|
479 | | -/** |
---|
480 | | - * snd_hdac_ext_stop_streams - stop all stream if running |
---|
481 | | - * @bus: HD-audio core bus |
---|
482 | | - */ |
---|
483 | | -void snd_hdac_ext_stop_streams(struct hdac_bus *bus) |
---|
484 | | -{ |
---|
485 | | - struct hdac_stream *stream; |
---|
486 | | - |
---|
487 | | - if (bus->chip_init) { |
---|
488 | | - list_for_each_entry(stream, &bus->stream_list, list) |
---|
489 | | - snd_hdac_stream_stop(stream); |
---|
490 | | - snd_hdac_bus_stop_chip(bus); |
---|
491 | | - } |
---|
492 | | -} |
---|
493 | | -EXPORT_SYMBOL_GPL(snd_hdac_ext_stop_streams); |
---|
494 | | - |
---|
495 | 478 | /** |
---|
496 | 479 | * snd_hdac_ext_stream_drsm_enable - enable DMA resume for a stream |
---|
497 | 480 | * @bus: HD-audio core bus |
---|