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 much the same thing as usb_autopm_put_interface: It
18 decrements intf's usage counter and schedules a delayed autosuspend
19 request if the counter is <= 0. The difference is that it does not
20 perform any synchronization; callers should hold a private lock and
21 handle all 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. November 2011 USB_AUTOPM_PUT_INTER(9)