1USB_AUTOPM_GET_INTER(9) USB Core APIs USB_AUTOPM_GET_INTER(9)
2
3
4
6 usb_autopm_get_interface_async - increment a USB interface's PM-usage
7 counter
8
10 int usb_autopm_get_interface_async(struct usb_interface * intf);
11
13 intf
14 the usb_interface whose counter should be incremented
15
17 This routine does much the same thing as usb_autopm_get_interface: It
18 increments intf's usage counter and queues an autoresume request if the
19 device is suspended. The differences are that it does not perform any
20 synchronization (callers should hold a private lock and handle all
21 synchronization issues themselves), and it does not autoresume the
22 device directly (it only queues a request). After a successful call,
23 the device may not yet be resumed.
24
25 This routine can run in atomic context.
26
28Kernel Hackers Manual 2.6. November 2011 USB_AUTOPM_GET_INTER(9)