diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-12-01 15:55:40 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-08 01:46:06 +0100 |
commit | c8ce82b9b9c40d66709cce588f6281dd47cc3922 (patch) | |
tree | 8734984b6eb9c2043e519d95e4e6906b96943953 /drivers/devfreq/rk3399_dmc.c | |
parent | c261e4c7153f307cd5f78ac6492da21ce7004310 (diff) |
devfreq: exynos: Don't use OPP structures outside of RCU locks
The OPP structures are abused to the best here, without understanding
how the OPP core and RCU locks work.
In short, the OPP pointer saved 'struct exynos_bus' can become invalid
under your nose, as the OPP core may free it.
Fix various abuses around OPP structures and calls.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/devfreq/rk3399_dmc.c')
0 files changed, 0 insertions, 0 deletions