OSDN Git Service

OMAPDSS: DISPC: cleanup lcd/digit enable/disable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Oct 2012 09:48:31 +0000 (12:48 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 18 Oct 2012 10:11:13 +0000 (13:11 +0300)
commitb111224900ed743cc5a5f4feafdc910b9e8e736c
tree9c015352f19594800c0fabe1227f6cd39d7037c7
parentcb699200af1626a4c718018f28b7737bf56496e5
OMAPDSS: DISPC: cleanup lcd/digit enable/disable

We currently have a single function to enable and disable the manager
output for LCD and DIGIT. The functions are a bit complex, as handling
both enable and disable require some extra steps to ensure that the
output is enabled or disabled properly without errors before exiting the
function.

The code can be made simpler to understand by splitting the functions
into separate enable and disable functions. We'll also clean up the
comments and some parameter names at the same time.

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