usb_autopm_put_interface_async

Langue: en

Autres versions - même langue

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

usb_autopm_put_interface_async - decrement a USB interface's PM-usage counter

SYNOPSIS

void usb_autopm_put_interface_async(struct usb_interface * intf);

ARGUMENTS

intf

the usb_interface whose counter should be decremented

DESCRIPTION

This routine does essentially the same thing as usb_autopm_put_interface: it decrements intf's usage counter and queues a delayed autosuspend request if the counter is <= 0. The difference is that it does not acquire the device's pm_mutex; callers must handle all synchronization issues themselves.

Typically a driver would call this routine during an URB's completion handler, if no more URBs were pending.

This routine can run in atomic context.