Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

From: Viresh Kumar
Date: Mon May 05 2014 - 10:38:53 EST


On 5 May 2014 19:53, Nishanth Menon <nm@xxxxxx> wrote:
> ceil and floor allows us to walk down the opp entries the direction we
> want it to.
> one can convert that data any way one wants it - especially when custom
> mapping such as this is desired.

Yeah, but doing that for every frequency transition is not right.
Otherwise they already have a solution, where they reverse order
of frequencies for their driver. exynos_sort_descend_freq_table().

Probably that's a better solution then :)

But, Jonghwan was probably trying to get this solved in the framework
only, in case anybody else needs it.

--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/