You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/audio
Osama Abdelkader 1eb18789f8 hw/audio: Remove dead code from ac97_realize
Remove unnecessary PCI configuration register initialization that was
marked with TODO comments indicating it's redundant:
- PCI_COMMAND register is already 0x00 by default, no need to override
- PCI_BASE_ADDRESS_0 registers are automatically set by pci_register_bar()

This aligns the code with the pattern used by other PCI audio devices
in QEMU (via-ac97, intel-hda, es1370) and removes 15 lines of dead code.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20251102231903.65409-1-osama.abdelkader@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
1 week ago
..
Kconfig Add virtio-sound device stub 2 years ago
ac97.c hw/audio: Remove dead code from ac97_realize 1 week ago
ac97.h hw/audio/ac97: Split off some definitions to a header 3 years ago
adlib.c audio: move audio.h under include/qemu/ 2 weeks ago
asc.c audio: move audio.h under include/qemu/ 2 weeks ago
cs4231.c qom: Have class_init() take a const data argument 7 months ago
cs4231a.c audio: move audio.h under include/qemu/ 2 weeks ago
es1370.c audio: move audio.h under include/qemu/ 2 weeks ago
fmopl.c audio: spelling fixes 2 years ago
fmopl.h audio: spelling fixes 2 years ago
gus.c audio: move audio.h under include/qemu/ 2 weeks ago
gusemu.h audio: GUSsample is int16_t 9 years ago
gusemu_hal.c audio: spelling fixes 2 years ago
gusemu_mixer.c hw/audio/gus: Fix registers 32-bit access 5 years ago
gustate.h Clean up decorations and whitespace around header guards 9 years ago
hda-codec-common.h hda-codec: make mixemu selectable at runtime 12 years ago
hda-codec.c audio: move audio.h under include/qemu/ 2 weeks ago
intel-hda-defs.h audio: spelling fixes 2 years ago
intel-hda.c hw/audio: generalize audio_model.init() 2 weeks ago
intel-hda.h hw/audio: Simplify hda audio init 2 years ago
lm4549.c audio: move audio.h under include/qemu/ 2 weeks ago
lm4549.h audio: move audio.h under include/qemu/ 2 weeks ago
marvell_88w8618.c audio: move audio.h under include/qemu/ 2 weeks ago
meson.build hw/audio: use better naming for -audio model handling code 2 weeks ago
model.c hw/audio: drop audio_model.isa 2 weeks ago
pcspk.c audio: move audio.h under include/qemu/ 2 weeks ago
pl041.c audio: remove QEMUSoundCard 2 weeks ago
pl041.h Clean up decorations and whitespace around header guards 9 years ago
pl041.hx
sb16.c audio: move audio.h under include/qemu/ 2 weeks ago
trace-events hw/audio/pcspk: Add I/O trace events 3 weeks ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
via-ac97.c audio: remove QEMUSoundCard 2 weeks ago
virtio-snd-pci.c hw/audio: drop audio_model.isa 2 weeks ago
virtio-snd.c audio: remove QEMUSoundCard 2 weeks ago
wm8750.c audio: move audio.h under include/qemu/ 2 weeks ago