]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Add dma stop delay variable
authorMohan Kumar <mkumard@nvidia.com>
Wed, 5 Aug 2020 09:52:20 +0000 (15:22 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Aug 2020 10:27:47 +0000 (12:27 +0200)
commit2c471a2eedaa3eee8d3dbda32743760a79373ef3
tree03bd439344ce911a5d0289a5f6c273938a8e5a92
parentae44c104cbdf0a3cc6c641377efdc80fa2a630ba
ALSA: hda: Add dma stop delay variable

A variable dma_stop_delay is added as a new member in hdac_bus
structure to avoid memory decode error incase DMA RUN bit is not
disabled in the given timeout from snd_hdac_stream_sync function and
followed by stream reset which results in memory decode error between
reset set and clear operation.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Link: https://lore.kernel.org/r/20200805095221.5476-3-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/hdac_stream.c