[PATCH] [3.3] ARM: tegra: emc: max rate based on emc table
Olof Johansson
olof at lixom.net
Tue Oct 18 14:26:59 EDT 2011
On Tue, Oct 18, 2011 at 11:23 AM, Colin Cross <ccross at android.com> wrote:
> On Tue, Oct 18, 2011 at 11:14 AM, Olof Johansson <olof at lixom.net> wrote:
>> +
>> + c->max_rate = max * 2 * 1000;
> I don't think you should be modifying internal variables of the struct
> clk from here.
I was contemplating adding a clk_set_max_rate(). Looks like some
platforms already have it, so I'll just go ahead and do it.
I'll move the shared bus iteration to that code as well then, obviously.
>
>> +
>> + list_for_each_entry(user, &c->shared_bus_list, u.shared_bus_user.node)
>> + user->max_rate = c->max_rate;
More information about the linux-arm-kernel
mailing list