OPP: Add key specific assert() method to key finding helpers
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 10 Jun 2022 04:10:30 +0000 (09:40 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 12 Jul 2022 15:05:20 +0000 (20:35 +0530)
commite10a46443f767cc6be201a10c767745f0afc04ac
tree2d525dfd3f92b96838333a469e4d07aed9d5f5cd
parent274c3e83e7d9bf4361fd30648f5c9414c806135c
OPP: Add key specific assert() method to key finding helpers

The helpers for the clock key, at least, would need to assert that the
helpers are called only for single clock case. Prepare for that by
adding an argument to the key finding helpers.

Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c