1USB_AUTOPM_PUT_INTER(9) USB Core APIs USB_AUTOPM_PUT_INTER(9)
2
3
4
6 usb_autopm_put_interface - decrement a USB interface's PM-usage counter
7
9 void usb_autopm_put_interface(struct usb_interface * intf);
10
12 intf
13 the usb_interface whose counter should be decremented
14
16 This routine should be called by an interface driver when it is
17 finished using intf and wants to allow it to autosuspend. A typical
18 example would be a character-device driver when its device file is
19 closed.
20
21 The routine decrements intf's usage counter. When the counter reaches
22 0, a delayed autosuspend request for intf's device is attempted. The
23 attempt may fail (see autosuspend_check).
24
25 This routine can run only in process context.
26
28Kernel Hackers Manual 3.10 June 2019 USB_AUTOPM_PUT_INTER(9)