Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349081
b: refs/heads/master
c: bcb2754
h: refs/heads/master
i:
  349079: cb9b777
v: v3
  • Loading branch information
Nishanth Menon authored and Rafael J. Wysocki committed Jan 22, 2013
1 parent cc6548c commit 59d911a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78e8eb8feab7d85f4cc215afe1457a228bf4eed9
refs/heads/master: bcb27549f4185ca7d0168e201931613706ef2b83
5 changes: 5 additions & 0 deletions trunk/drivers/devfreq/devfreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,11 @@ module_exit(devfreq_exit);
* @freq: The frequency given to target function
* @flags: Flags handed from devfreq framework.
*
* Locking: This function must be called under rcu_read_lock(). opp is a rcu
* protected pointer. The reason for the same is that the opp pointer which is
* returned will remain valid for use with opp_get_{voltage, freq} only while
* under the locked area. The pointer returned must be used prior to unlocking
* with rcu_read_unlock() to maintain the integrity of the pointer.
*/
struct opp *devfreq_recommended_opp(struct device *dev, unsigned long *freq,
u32 flags)
Expand Down

0 comments on commit 59d911a

Please sign in to comment.