mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 18:47:01 +00:00
14 lines
505 B
Diff
14 lines
505 B
Diff
diff --git a/drivers/usb/host/ehci-timer.c b/drivers/usb/host/ehci-timer.c
|
|
index 424ac5d..a2afc34 100644
|
|
--- a/drivers/usb/host/ehci-timer.c
|
|
+++ b/drivers/usb/host/ehci-timer.c
|
|
@@ -422,7 +422,7 @@ static enum hrtimer_restart ehci_hrtimer_func(struct hrtimer *t)
|
|
*/
|
|
now = ktime_get();
|
|
for_each_set_bit(e, &events, EHCI_HRTIMER_NUM_EVENTS) {
|
|
- if (now.tv64 >= ehci->hr_timeouts[e].tv64)
|
|
+ if (now >= ehci->hr_timeouts[e])
|
|
event_handlers[e](ehci);
|
|
else
|
|
ehci_enable_event(ehci, e, false);
|