]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM: 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)
committerPaul Walmsley <paul@pwsan.com>
Wed, 25 Jan 2012 21:09:13 +0000 (14:09 -0700)
commit1d2f56c84f100890476e62d83062cfe9965fc7b4
tree1656a88616dcc125c49101f0a877c44e320eb1a0
parentd19e8f2e44a34b2a461f67ce9d0cb5bd43197c1e
ARM: 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.

The long-term fix to this is to ensure modules are set up in dependency
order in the hwmod core code.

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>
[paul@pwsan.com: add notes that this is just a temporary workaround until
 hwmod dependencies are added]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c