On Mon, May 5, 2014 at 9:38 AM, Viresh Kumar <viresh.ku...@linaro.org> wrote: > On 5 May 2014 19:53, Nishanth Menon <n...@ti.com> 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 :) Such a map should probably be done at probe, unless we have strong reasons why not to.
> > But, Jonghwan was probably trying to get this solved in the framework > only, in case anybody else needs it. > Lets keep things simple for the time being. ideally users of a framework should not depend on internal organization of data. Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/