OPP: rate-limit debug messages when no change in OPP is required
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Sat, 20 May 2023 17:00:35 +0000 (18:00 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 May 2023 03:41:40 +0000 (09:11 +0530)
commit9e28f7a74581204807f20ae46568939038e327aa
treef81c389b950ac53d4f176afcdb2b41921554b914
parentac9a78681b921877518763ba0e89202254349d1b
OPP: rate-limit debug messages when no change in OPP is required

Otherwise, when enabling a debug build and dynamic debug in the kernel, it
quickly floods the kernel ring buffer and makes debugging of other
subsystems almost impossible, unless manually disabled.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c