Revert "ALSA: hda - Don't set up active streams twice"
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 May 2013 11:39:50 +0000 (13:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 May 2013 11:41:37 +0000 (13:41 +0200)
commit6c35ae3c327ef4b5f51d3428d2ba47ac2153e882
tree92db5a0674b4a913b5ec7fed34dfd455408ad856
parentd24f5a9ad9febffa53b1d3fcdf36c9a2283d848e
Revert "ALSA: hda - Don't set up active streams twice"

This reverts commit affdb62b815b38261f09f9d4ec210a35c7ffb1f3.

The commit introduced a regression with AD codecs where the stream is
always clean up.  Since the patch is just a minor optimization and
reverting the commit fixes the issue, let's just revert it.

Reported-and-tested-by: Michael Burian <michael.burian@sbg.at>
Cc: <stable@vger.kernel.org> [v3.9+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c