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)
commit4106820b90ab0f963571d14bdbf9a2587ca80532
tree03bd439344ce911a5d0289a5f6c273938a8e5a92
parent6c17e9dd5cdd352276180f47c0a8b24a1d4661af
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