OPP: Update _read_freq() to return the correct frequency
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 21 Jul 2023 09:05:08 +0000 (14:35 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 24 Jul 2023 07:57:03 +0000 (13:27 +0530)
commit034d6aac2160b732d58d82e34aaf2c058a8f72fa
tree08d4d852e0ad0b6c2e0b27a5b29a0d3b961d556e
parenta5893928bb179d67ca1d44a8f66c990480ba541d
OPP: Update _read_freq() to return the correct frequency

Now that we support finding indexed frequencies, lets update
_read_freq() to return the right one.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/opp/core.c