Re: [Qemu-devel] [PATCH v2] audio: fix pc speaker init

2019-01-24 Thread Philippe Mathieu-Daudé
Hi Gerd, On 1/24/19 12:08 PM, Gerd Hoffmann wrote: > Get rid of the pcspk_state global, allow pc speaker > be added using "-device isa-pcspk". It was not easy to figure what you changed since the discussion on the v1, but I finally got it: 2 spaces were removed to please checkpatch/patchew. > Si

[Qemu-devel] [PATCH v2] audio: fix pc speaker init

2019-01-24 Thread Gerd Hoffmann
Get rid of the pcspk_state global, allow pc speaker be added using "-device isa-pcspk". Signed-off-by: Gerd Hoffmann --- hw/audio/pcspk.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/hw/audio/pcspk.c b/hw/audio/pcspk.c index 908696d483