Query: usb_autopm_put_interface
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USB_AUTOPM_PUT_INTER(9) USB Core APIs USB_AUTOPM_PUT_INTER(9)NAMEusb_autopm_put_interface - decrement a USB interface's PM-usage counterSYNOPSISvoid usb_autopm_put_interface(struct usb_interface * intf);ARGUMENTSintf the usb_interface whose counter should be decrementedDESCRIPTIONThis routine should be called by an interface driver when it is finished using intf and wants to allow it to autosuspend. A typical example would be a character-device driver when its device file is closed. The routine decrements intf's usage counter. When the counter reaches 0, a delayed autosuspend request for intf's device is attempted. The attempt may fail (see autosuspend_check). This routine can run only in process context.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_AUTOPM_PUT_INTER(9)