OMAPDSS: DISPC: explicit handling for sync and de levels
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 2 Oct 2014 17:58:49 +0000 (17:58 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 10:15:12 +0000 (12:15 +0200)
commited35188158552d4b1e7a8df2a10dedf88c813539
treea1251e1d5a7c880d01442846644e24c8001433eb
parent7a16360d56f6846da5a7c8cb50b14e3464ad133a
OMAPDSS: DISPC: explicit handling for sync and de levels

When configuring the lcd timings, instead of writing enum values
directly to the HW, use switch-case to get the value to be programmed.

This is safer and also allows us to change the enum values.

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