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: NGeorgi Djakov <georgi.djakov@linaro.org> Reviewed-by: NMatthias Kaehlcke <mka@chromium.org> Reviewed-by: NSibi Sankar <sibis@codeaurora.org> [ Viresh: Fix rebase conflicts ] Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Showing
想要评论请 注册 或 登录