OMAP: DSS2: Fix init and unit sequence
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 May 2011 13:10:59 +0000 (16:10 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 25 Jul 2011 07:08:14 +0000 (10:08 +0300)
commitcb5930bdb57393a6ab9dc0c96fe5f03dcfb5bf43
tree1d371a5cf7d8f28c8a07af392b098e006acc6315
parentb98482ed73810c4a970dee3402b35241d3ce4b7e
OMAP: DSS2: Fix init and unit sequence

The initialization order of the DSS modules is important when pm_runtime
support is implemented. Currently RFBI is initialized before DISPC,
which will cause problems with pm_runtime as RFBI uses DISPC.

The same goes for uninitialization order, and dss_uninit needs to be
called last, and dispc_uninit just before that.

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