1USB_AUTOPM_PUT_INTER(9) USB Core APIs USB_AUTOPM_PUT_INTER(9)
2
3
4
6 usb_autopm_put_interface_async - decrement a USB interface´s PM-usage
7 counter
8
10 void usb_autopm_put_interface_async(struct usb_interface * intf);
11
13 intf
14 the usb_interface whose counter should be decremented
15
17 This routine does essentially the same thing as
18 usb_autopm_put_interface: it decrements intf´s usage counter and queues
19 a delayed autosuspend request if the counter is <= 0. The difference is
20 that it does not acquire the device´s pm_mutex; callers must handle all
21 synchronization issues themselves.
22
23 Typically a driver would call this routine during an URB´s completion
24 handler, if no more URBs were pending.
25
26 This routine can run in atomic context.
27
29Kernel Hackers Manual 2.6. June 2019 USB_AUTOPM_PUT_INTER(9)