summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-11-04 22:56:06 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2019-11-06 04:04:00 +0100
commit6f2a35d65b3c4bbc579a115589edcc7ed6239dce (patch)
tree76cb248ef16c8cd470e7bb2c87cad4d4f1452e81 /block
parentPM / devfreq: tegra30: Use CPUFreq notifier (diff)
downloadlinux-6f2a35d65b3c4bbc579a115589edcc7ed6239dce.tar.xz
linux-6f2a35d65b3c4bbc579a115589edcc7ed6239dce.zip
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 'block')
0 files changed, 0 insertions, 0 deletions