OMAP3: hwmod_data: register dss hwmods after dss_core
authorIlya Yanok <yanok@emcraft.com>
Tue, 27 Dec 2011 23:31:33 +0000 (00:31 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 13 Jan 2012 15:09:47 +0000 (17:09 +0200)
commitdc59273f35c95617e81d04c9969c0b8595fab151
treef0d92827e663d5f80a3699e3191b7a494e9ba5a1
parent4314572c84930ed505bae8aed7c94e1bf1c30d34
OMAP3: hwmod_data: register dss hwmods after dss_core

dss_core has to be initialized before any other DSS hwmod. Currently
this is broken as dss_core is listed in chip/revision specific hwmod
lists while other DSS hwmods are listed in common list which is
registered first.

This patch moves DSS hwmods (except for dss_core) to the separate list
which is registered last to ensure that dss_core is already registered.

This solves the problem with BUG() in L3 interrupt handler on boards
with DSS enabled in bootloader.

CC: Tomi Valkeinen <tomi.valkeinen@ti.com>
CC: Archit Taneja <archit@ti.com>
CC: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c