Explorar o código

ARM: DRA7: hwmod: set DSS submodule parent hwmods

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>
Tomi Valkeinen %!s(int64=11) %!d(string=hai) anos
pai
achega
a3818c6d57
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/arm/mach-omap2/omap_hwmod_7xx_data.c

+ 2 - 0
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

@@ -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,
 };
 
 /*