qemu-e2k/hw/usb
Hans de Goede 7598b41cfa usb-serial: Remove double call to qemu_chr_add_handlers( NULL )
usb-serial has a qdev chardev property, and hw/qdev-properties-system.c
already contains:

static void release_chr(Object *obj, const char *name, void *opaque)
{
    DeviceState *dev = DEVICE(obj);
    Property *prop = opaque;
    CharDriverState **ptr = qdev_get_prop_ptr(dev, prop);
    CharDriverState *chr = *ptr;

    if (chr) {
        qemu_chr_add_handlers(chr, NULL, NULL, NULL, NULL);
        qemu_chr_fe_release(chr);
    }
}

So doing the qemu_chr_add_handlers(s->cs, NULL, NULL, NULL, NULL); from
the usb handle_destroy function too will lead to it being done twice.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-04-16 11:59:08 +02:00
..
bus.c usb-hub: limit chain length 2013-04-03 11:39:43 +02:00
ccid-card-emulated.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
ccid-card-passthru.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
ccid.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
combined-packet.c
core.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
desc.c usb: fix endpoint descriptor ordering 2013-02-19 12:30:05 +01:00
desc.h
dev-audio.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-bluetooth.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
dev-hid.c Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
dev-hub.c usb-hub: report status changes only once 2013-04-03 11:39:43 +02:00
dev-network.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00
dev-serial.c usb-serial: Remove double call to qemu_chr_add_handlers( NULL ) 2013-04-16 11:59:08 +02:00
dev-smartcard-reader.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
dev-storage.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-uas.c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
dev-wacom.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-ehci-pci.c
hcd-ehci-sysbus.c
hcd-ehci.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-ehci.h
hcd-musb.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-ohci.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-uhci.c usb-core: usb3 streams 2013-02-19 12:30:05 +01:00
hcd-xhci.c xhci: zap unused name field 2013-04-03 11:39:42 +02:00
host-bsd.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host-legacy.c usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
host-linux.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host-stub.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host.h usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
libhw.c include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
Makefile.objs hw: make all of hw/usb/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00