Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

OMAP3: set the core dpll clk rate in its set_rate function

The debug l3_ick/rate is not displaying the actual rate of the clock in
hardware. This is because, the core dpll set_rate function doesn't update the
clk.rate. After fixing, the l3_ick/rate is displaying proper values.

Signed-off-by: Shweta Gulati <shweta.gulati@ti.com>
Signed-off-by: Avinash.H.M <avinashhm@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Paul Wamsley <paul@pwsan.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Avinash H.M and committed by
Tony Lindgren
5fd2a84a c56b2ddd

+1
+1
arch/arm/mach-omap2/clkt34xx_dpll3m2.c
··· 115 115 sdrc_cs0->rfr_ctrl, sdrc_cs0->actim_ctrla, 116 116 sdrc_cs0->actim_ctrlb, sdrc_cs0->mr, 117 117 0, 0, 0, 0); 118 + clk->rate = rate; 118 119 119 120 return 0; 120 121 }