--- x/drivers/usb/gadget/udc/dummy_hcd.c +++ y/drivers/usb/gadget/udc/dummy_hcd.c @@ -1303,7 +1303,7 @@ static int dummy_urb_enqueue( urb->error_count = 1; /* mark as a new urb */ /* kick the scheduler, it'll do the rest */ - if (!hrtimer_active(&dum_hcd->timer)) + if (!hrtimer_is_queued(&dum_hcd->timer)) hrtimer_start(&dum_hcd->timer, ns_to_ktime(DUMMY_TIMER_INT_NSECS), HRTIMER_MODE_REL_SOFT);