1USB_AUTOPM_SET_INTER(9) USB Core APIs USB_AUTOPM_SET_INTER(9)
2
3
4
6 usb_autopm_set_interface - set a USB interface´s autosuspend state
7
9 int usb_autopm_set_interface(struct usb_interface * intf);
10
12 intf
13 the usb_interface whose state should be set
14
16 This routine sets the autosuspend state of intf´s device according to
17 intf´s usage counter, which the caller must have set previously. If the
18 counter is <= 0, the device is autosuspended (if it isn´t already
19 suspended and if nothing else prevents the autosuspend). If the counter
20 is > 0, the device is autoresumed (if it isn´t already awake).
21
23Kernel Hackers Manual 2.6. June 2019 USB_AUTOPM_SET_INTER(9)