summaryrefslogtreecommitdiff
path: root/lib/memregion.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-09-27 23:51:39 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2020-09-29 17:50:10 +0900
commitd353d1202b89ab039acd079cd97f7646058ebe11 (patch)
tree2a3383dc7450a11a23ad64bc51b392cf48f3f1af /lib/memregion.c
parent02bdbf7d09c059b16047e3d4a05e6d584dd993b6 (diff)
downloadlwn-d353d1202b89ab039acd079cd97f7646058ebe11.tar.gz
lwn-d353d1202b89ab039acd079cd97f7646058ebe11.zip
PM / devfreq: tegra30: Improve initial hardware resetting
It's safe to enable the ACTMON clock at any time during driver probing, even if we don't know the state of hardware, because it's used only for collecting and processing stats, and interrupt is kept disabled. This allows us to slightly improve code which performs initial hardware resetting by making use of a single reset_control_reset() instead of assert/deassert pair. Secondly, a potential error of the reset-control API is handled nicely now. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'lib/memregion.c')
0 files changed, 0 insertions, 0 deletions