diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2019-11-05 00:56:06 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2019-11-06 06:04:00 +0300 |
commit | 6f2a35d65b3c4bbc579a115589edcc7ed6239dce (patch) | |
tree | 76cb248ef16c8cd470e7bb2c87cad4d4f1452e81 /Documentation | |
parent | 11eb6ec5c0d4ad513c62e33009bcb15d84dfff56 (diff) | |
download | linux-6f2a35d65b3c4bbc579a115589edcc7ed6239dce.tar.xz |
PM / devfreq: tegra30: Move clk-notifier's registration to governor's start
There is no point in receiving of the notifications while governor is
stopped, let's keep them disabled like we do for the CPU freq-change
notifications. This also fixes a potential use-after-free bug if
notification happens after device's removal.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions