Skip to content

Commit

Permalink
ALSA: hdac: couple the hda DMA stream in cleanup
Browse files Browse the repository at this point in the history
A stream is by default in coupled mode, in DSP operation we move
it to decoupled mode. On cleanup HW expects that we leave it back
to default state so couple the DMA on cleanup.

Signed-off-by: Jeeja KP <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
kpjeeja authored and broonie committed Jan 10, 2016
1 parent a9c48f7 commit 8888815
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/hda/ext/hdac_ext_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ void snd_hdac_stream_free_all(struct hdac_ext_bus *ebus)
while (!list_empty(&bus->stream_list)) {
s = list_first_entry(&bus->stream_list, struct hdac_stream, list);
stream = stream_to_hdac_ext_stream(s);
snd_hdac_ext_stream_decouple(ebus, stream, false);
list_del(&s->list);
kfree(stream);
}
Expand Down

0 comments on commit 8888815

Please sign in to comment.