OMAP: DSS2: Clean up for dpll4_m4_ck handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 14 Mar 2011 12:28:57 +0000 (07:28 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 18 Mar 2011 04:01:01 +0000 (09:31 +0530)
commit0acf659f1469725fb6e39d53af970f36c5f69a41
tree1a2be738a9514b7f0256fe1806b246507fe95b38
parent17c84ef1e1265fad787d4082bd40a63eb6f3eeb1
OMAP: DSS2: Clean up for dpll4_m4_ck handling

OMAP2 does not have dpll4_m4_ck source clock for dss functional clock,
but later OMAPs do. Currently we check for cpu type in multiple places
to find out if dpll4_m4_ck is available.

This patch cleans up dss.c by using the fact that dss.dpll4_m4_ck
pointer is NULL on OMAP2. This allows us to remove many of the cpu
checks.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c
This page took 0.027659 seconds and 5 git commands to generate.