]> git.karo-electronics.de Git - karo-tx-linux.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)
commitada9443ff407f83a96abc15ea44a106250dd23f2
tree48ce266338cd44b0e9c9fb794dd23009caab6b30
parent64ad846ffd9fe2d29ac9d2f68a4866f67ad9e3f1
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