]> git.proxmox.com Git - mirror_qemu.git/commit
hw/audio/intel-hda: fix stream reset
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 26 Dec 2021 15:40:17 +0000 (16:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Jan 2022 09:47:52 +0000 (10:47 +0100)
commitecd5f2882fdd10f798984eb52abd00ffc78c2ef7
tree704dc10c4539f9649bd9815a9288023eb239e155
parent9d90ceb27461d7d0d172fd941b812d511794a6c6
hw/audio/intel-hda: fix stream reset

Quote from:
High Definition Audio Specification 1.0a, section 3.3.35

Offset 80: {IOB}SDnCTL Stream Reset (SRST): Writing a 1 causes
the corresponding stream to be reset. The Stream Descriptor
registers (except the SRST bit itself) ... are reset.

Change the code to reset the Stream Descriptor Control and Status
registers except the SRST bit.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/757
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20211226154017.6067-3-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/audio/intel-hda.c