summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2018-10-02 13:52:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-24 08:20:23 +0100
commit8b3e444fe8d0357dc63e3c4178fcfeba4eddc92e (patch)
treec138333d58b8639d0ae0b5f94ca6faae3d6a144a /kernel
parent599d5350f1230ef9f25e392303badb551753f17c (diff)
clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
[ Upstream commit 1da220e3a5d22fccda0bc8542997abc1d1741268 ] clk_notifier_register() documentation states, that the provided notifier callbacks associated with the notifier must not re-enter into the clk framework by calling any top-level clk APIs. Fix this by replacing clk_get_rate() calls with clk_hw_get_rate(), which is safe in this context. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sylwester Nawrocki <snawrocki@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions