usb_autopm_set_interface(9)

usb_autopm_set_interface9

Set a usb interface's autosuspend state

Usage

int usb_autopm_set_interface(struct usb_interface * intf);

Arguments

intf

the usb_interface whose state should be set

Overview

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).

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.