Re: [PATCH V2 09/13] OPP: Assert clk_count == 1 for single clk helpers

From: Krzysztof Kozlowski
Date: Tue Jul 05 2022 - 13:21:09 EST


On 05/07/2022 09:00, Viresh Kumar wrote:
> Many helpers can be safely called only for devices that have a single
> clk associated with them. Assert the same for those routines.
>

Where is the safety problem with multiple-clocks case? And how users of
PM OPP API are supposed to iterate/find OPPs they want if the API now
throws WARN?

Best regards,
Krzysztof