ARM: DRA7: hwmod: set DSS submodule parent hwmods
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 9 Oct 2014 13:45:56 +0000 (16:45 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 4 Jun 2015 06:01:23 +0000 (09:01 +0300)
Set DSS core hwmod as the parent for all the DSS submodules. This
ensures that the parent hwmods are enabled before any DSS submodules are
accessed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

index f6b94854fafc74c24fd8b1f4b0a5b538509f47e2..9961f95f52aed8df2b8d461537149aebfde1ba76 100644 (file)
@@ -522,6 +522,7 @@ static struct omap_hwmod dra7xx_dss_dispc_hwmod = {
                },
        },
        .dev_attr       = &dss_dispc_dev_attr,
+       .parent_hwmod   = &dra7xx_dss_hwmod,
 };
 
 /*
@@ -563,6 +564,7 @@ static struct omap_hwmod dra7xx_dss_hdmi_hwmod = {
        },
        .opt_clks       = dss_hdmi_opt_clks,
        .opt_clks_cnt   = ARRAY_SIZE(dss_hdmi_opt_clks),
+       .parent_hwmod   = &dra7xx_dss_hwmod,
 };
 
 /*