OMAPDSS: DISPC: pclk & lclk rates for writeback
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 15 Nov 2012 11:20:02 +0000 (13:20 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Nov 2012 10:27:02 +0000 (12:27 +0200)
commit251886d8bc6f565c14acb34b12c007b994c2e56d
tree972c2ea0dcd3af64427e694d75335e0c7a09d179
parent3c91ee8cc9fa785ed9c4ad250d3f293f279153fe
OMAPDSS: DISPC: pclk & lclk rates for writeback

Change the dispc_plane_pclk_rate and dispc_plane_lclk_rate functions to
return 0 if the given plane is the writeback plane. The clocks are not
valid for WB, but returning 0 from these functions instead of running
into BUG() will simplify the code that uses these functions.

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