ALSA: hda: fix to wait for RIRB & CORB DMA to set
authorJeeja KP <jeeja.kp@intel.com>
Thu, 5 May 2016 05:54:43 +0000 (11:24 +0530)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 May 2016 09:43:36 +0000 (11:43 +0200)
commit38b19ed7f81ec930f3ad2066ae088f574970c814
treec1bbc901d207c0325d0c6d1692dad6ad644f8afb
parent94e9080ce22d9fb7c0a4361a5890b2c6affc9b1b
ALSA: hda: fix to wait for RIRB & CORB DMA to set

If the DMAs are not being quiesced properly, it may lead to
stability issues, so the recommendation is to wait till DMAs are
stopped.

After setting the stop bit of RIRB/CORB DMA, we should wait for
stop bit to be set.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_controller.c