summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-09-20 16:51:25 +0200
committerMarek Vasut <marex@denx.de>2014-10-06 14:50:42 +0200
commit36b73109c49c1359a5fcc790c00717cb27468c12 (patch)
treec749bb26c7bd765d63102b0382bfbd98acabd058 /drivers/usb/host/ehci.h
parent415548d88446134549917aae026f53dbbee36fd2 (diff)
downloadtalos-obmc-uboot-36b73109c49c1359a5fcc790c00717cb27468c12.tar.gz
talos-obmc-uboot-36b73109c49c1359a5fcc790c00717cb27468c12.zip
usb: ehci: Make periodic_schedules a per controller variable
Periodic schedules tracks how many int_queue-s are active, and decides whether or not to en/disable the periodic schedule based on this. This is clearly a per controller thing. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index 093eb4b832..433e703da8 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -246,6 +246,7 @@ struct ehci_ctrl {
struct QH qh_list __aligned(USB_DMA_MINALIGN);
struct QH periodic_queue __aligned(USB_DMA_MINALIGN);
uint32_t *periodic_list;
+ int periodic_schedules;
int ntds;
};
OpenPOWER on IntegriCloud