Am Dienstag, den 06.08.2019, 15:46 -0400 schrieb Alan Stern: > +static int proc_wait_for_resume(struct usb_dev_state *ps) > +{ > + int ret; > + > + usb_unlock_device(ps->dev); > + ret = wait_event_interruptible(ps->wait_for_resume, > + READ_ONCE(ps->not_yet_resumed) == 0); > + usb_lock_device(ps->dev); > + > + if (ret != 0) > + return ret; > + return proc_forbid_suspend(ps); One nitpick, this seems to return raw -ERESTARTSYS in the interrupt case. Should it? Regards Oliver