]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: add locking documentation for recommended_opp
authorNishanth Menon <nm@ti.com>
Fri, 18 Jan 2013 19:52:34 +0000 (19:52 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jan 2013 12:28:39 +0000 (13:28 +0100)
commita0bee71f27ffb0df91d46ec2445001322846128a
treec9c77e26c0c9b8ef5aa4c85efff2464900283b69
parent35a79223027aecfae18133c7730c842ba5baf809
PM / devfreq: add locking documentation for recommended_opp

OPP pointers are protected by RCU locks, the pointer validity is
permissible only under the section of rcu_read_lock to rcu_read_unlock

Add documentation to the effect.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/devfreq.c