Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115760
b: refs/heads/master
c: 81ab5b8
h: refs/heads/master
v: v3
  • Loading branch information
Geoff Levand authored and Greg Kroah-Hartman committed Oct 17, 2008
1 parent 41fe423 commit 6003da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7384a922b5a716b4e9dbcdce738f2b2104892008
refs/heads/master: 81ab5b8ee6b8cd5fe8cfdf0eea84eea0aa7b4da9
8 changes: 4 additions & 4 deletions trunk/Documentation/usb/power-management.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,12 @@ without holding the mutex.

There also are a couple of utility routines drivers can use:

usb_autopm_enable() sets pm_usage_cnt to 1 and then calls
usb_autopm_set_interface(), which will attempt an autoresume.

usb_autopm_disable() sets pm_usage_cnt to 0 and then calls
usb_autopm_enable() sets pm_usage_cnt to 0 and then calls
usb_autopm_set_interface(), which will attempt an autosuspend.

usb_autopm_disable() sets pm_usage_cnt to 1 and then calls
usb_autopm_set_interface(), which will attempt an autoresume.

The conventional usage pattern is that a driver calls
usb_autopm_get_interface() in its open routine and
usb_autopm_put_interface() in its close or release routine. But
Expand Down

0 comments on commit 6003da5

Please sign in to comment.