]> Git Repo - qemu.git/commit
usb-ehci: fix ehci_child_detach
authorGerd Hoffmann <[email protected]>
Fri, 23 Mar 2012 14:43:45 +0000 (15:43 +0100)
committerGerd Hoffmann <[email protected]>
Tue, 17 Apr 2012 08:23:28 +0000 (10:23 +0200)
commit088351a7e50b7f14cda9520bcb8a7896e226aa36
treee0013b9c9693bd6eb717c97bfd97a6fd0c3e7eca
parent529f8f9fa939b8db13bf5cd1cd549d993cf25cb8
usb-ehci: fix ehci_child_detach

Looks like a cut+paste bug from ehci_detach.  When the device itself is
detached from a ehci port (ehci_detach op) we have to clear the
device pointer for the companion port too.  When a device gets removed
from a downstream port of a usb hub (ehci_child_detach op) the ehci port
where the usb hub is plugged in is not affected.

Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/hcd-ehci.c
This page took 0.035752 seconds and 4 git commands to generate.