Re: [PATCH] firmware: arm_scmi: Fix sorting of retrieved clock rates
From: Sudeep Holla
Date: Tue Apr 05 2022 - 21:49:15 EST
On Fri, 18 Mar 2022 09:28:13 +0000, Cristian Marussi wrote:
> During SCMI Clock protocol initialization, after having retrieved from the
> SCMI platform all the available discrete rates for a specific clock, the
> clock rates array is sorted, unfortunately using a pointer to its end as
> a base instead of its start, so that sorting does not work.
>
> Fix invocation of sort() passing as base a pointer to the start of the
> retrieved clock rates array.
>
> [...]
Applied to sudeep.holla/linux (fixes/scmi), thanks!
[1/1] firmware: arm_scmi: Fix sorting of retrieved clock rates
https://git.kernel.org/sudeep.holla/c/23274739a5
--
Regards,
Sudeep