aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hub.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-09-18 07:23:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 12:20:48 -0400
commit9fa5780beea1274d498a224822397100022da7d4 (patch)
tree9dbc2d31f3af70502843bbebe8017828abd63136 /drivers/usb/host/ehci-hub.c
parentee42f6c9fc62d1d4d45b0d75e5f947e6645d8c30 (diff)
USB EHCI/Xen: propagate controller reset information to hypervisor
Just like for the in-tree early console debug port driver, the hypervisor - when using a debug port based console - also needs to be told about controller resets, so it can suppress using and then re-initialize the debug port accordingly. Other than the in-tree driver, the hypervisor driver actually cares about doing this only for the device where the debug is port actually in use, i.e. it needs to be told the coordinates of the device being reset (quite obviously, leveraging the addition done for that would likely benefit the in-tree driver too). Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
-rw-r--r--drivers/usb/host/ehci-hub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index c7880223738a..914ce9370e70 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -353,10 +353,10 @@ static int ehci_bus_resume (struct usb_hcd *hcd)
353 goto shutdown; 353 goto shutdown;
354 354
355 if (unlikely(ehci->debug)) { 355 if (unlikely(ehci->debug)) {
356 if (!dbgp_reset_prep()) 356 if (!dbgp_reset_prep(hcd))
357 ehci->debug = NULL; 357 ehci->debug = NULL;
358 else 358 else
359 dbgp_external_startup(); 359 dbgp_external_startup(hcd);
360 } 360 }
361 361
362 /* Ideally and we've got a real resume here, and no port's power 362 /* Ideally and we've got a real resume here, and no port's power