usb_autopm_set_inter(9)
NAME
usb_autopm_set_interface - set a USB interface's autosuspend state
SYNOPSIS
int usb_autopm_set_interface(struct usb_interface * intf);
ARGUMENTS
- intf
- the usb_interface whose state should be set
DESCRIPTION
This routine sets the autosuspend state of intfīs device according to
intfīs usage counter, which the caller must have set previously. If the
counter is <= 0, the device is autosuspended (if it isnīt already
suspended and if nothing else prevents the autosuspend). If the counter
is > 0, the device is autoresumed (if it isnīt already awake).