hda: do not mix output and input stream states, RHBZ #740493
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 25 Oct 2011 14:53:01 +0000 (16:53 +0200)
committermalc <av1474@comtv.ru>
Tue, 25 Oct 2011 15:15:20 +0000 (19:15 +0400)
commit3b488f3e086db0b859256b2a8e368555bf49d276
tree98db35e780214b86237dd8860c3e92a6a367a1cd
parent5ff544ebef32bfb8a5587f6b4b1209c628f2c306
hda: do not mix output and input stream states, RHBZ #740493

Windows 7 may use the same stream number for input and output.
Current code will confuse streams.

Changes since v1:
- keep running_compat[] for migration version 1
- add running_real[] for migration version 2

Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/hda-audio.c
hw/intel-hda.c
hw/intel-hda.h