]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdac: Fix to check if stream not in use in release
authorJeeja KP <jeeja.kp@intel.com>
Mon, 5 Oct 2015 14:09:49 +0000 (15:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Oct 2015 15:18:56 +0000 (17:18 +0200)
commit568a9c5095567cb314cea5e525973e7b32cf9dd4
tree50c1c1d778d4a4431fe6af63f2bcb93831f93651
parent0cc6e3ebd0b58b262dcb8f8d4c907e03b03cbacc
ALSA: hdac: Fix to check if stream not in use in release

if the stream is decoupled and both link and host are used, while
releasing the stream, need to check if link and host stream are
not in use. This patch adds fix to check if the host/link stream
is in used before coupling it back when releasing the stream.

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/ext/hdac_ext_stream.c