diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-10-02 13:52:10 +0200 |
---|---|---|
committer | Sylwester Nawrocki <snawrocki@kernel.org> | 2018-10-05 13:36:39 +0200 |
commit | 1da220e3a5d22fccda0bc8542997abc1d1741268 (patch) | |
tree | 8e386d38d8d6c8b4d9379f25773630be10f4934e /include/drm/drm_legacy.h | |
parent | b33228029d842269e17bba591609e83ed422005d (diff) | |
download | blackbird-op-linux-1da220e3a5d22fccda0bc8542997abc1d1741268.tar.gz blackbird-op-linux-1da220e3a5d22fccda0bc8542997abc1d1741268.zip |
clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
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>
Diffstat (limited to 'include/drm/drm_legacy.h')
0 files changed, 0 insertions, 0 deletions