1USB_AUTOPM_GET_INTER(9)          USB Core APIs         USB_AUTOPM_GET_INTER(9)
2
3
4

NAME

6       usb_autopm_get_interface_async - increment a USB interface's PM-usage
7       counter
8

SYNOPSIS

10       int usb_autopm_get_interface_async(struct usb_interface * intf);
11

ARGUMENTS

13       intf
14           the usb_interface whose counter should be incremented
15

DESCRIPTION

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

RETURN

28       0 on success. A negative error code otherwise.
29
31Kernel Hackers Manual 3.10         June 2019           USB_AUTOPM_GET_INTER(9)
Impressum