]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: cleanup fck parent handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Oct 2013 14:06:38 +0000 (16:06 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Nov 2013 12:32:27 +0000 (14:32 +0200)
commit1570034a4a8301a081edd7734ad46f49172112d5
tree48ce266338cd44b0e9c9fb794dd23009caab6b30
parent05c6e8d2c84d97dcada689aab97055ac31d9edb0
OMAPDSS: cleanup fck parent handling

The dss parent_clk_name currently points to a clock node which we use to
change the fclk rate. Now that we have CLK_SET_RATE_PARENT properly set,
we can set the rate directly to the fclk node.

However, we still need to calculate the possible clock rates. For this,
we need the rate of the parent of the current parent_clk.

To simplify the code, this patch changes the parent_clk_name to point to
the above mentioned parent, so that we can get the rate directly.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/dss.h