summaryrefslogtreecommitdiffstats
path: root/drivers/opp/core.c
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2020-05-12 15:53:22 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2020-05-29 10:15:08 +0530
commit120e117bdc8483773fdae19dd326ef460b1ab4c2 (patch)
tree72605d393aca96108ab172857b4ea2555d4ada13 /drivers/opp/core.c
parent6d3f922c46f2e91f63c92f8dd28381f097082912 (diff)
downloadlinux-120e117bdc8483773fdae19dd326ef460b1ab4c2.tar.gz
linux-120e117bdc8483773fdae19dd326ef460b1ab4c2.tar.bz2
linux-120e117bdc8483773fdae19dd326ef460b1ab4c2.zip
opp: Add sanity checks in _read_opp_key()
When we read the OPP keys, it would be nice to do some sanity checks of the values we get from DT and see if they match with the information that is populated in the OPP table. Let's pass a pointer of the table, so that we can do some validation. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Sibi Sankar <sibis@codeaurora.org> [ Viresh: Fix rebase conflicts ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/core.c')
0 files changed, 0 insertions, 0 deletions