aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2019-03-22 11:08:06 -0400
committerTony Lindgren <tony@atomide.com>2019-04-05 18:10:36 -0400
commit10645e81b9677c5ed9de371b382234564eb73660 (patch)
treef24e1c12e846c85bbecede1309c4d7a39da3afd4
parenta54275f4ab204137c9995c686c7f1cd2682cc0a4 (diff)
bus: ti-sysc: Pass clockactivity quirk to platform functions
We already have the clockactivity quirk set for some modules like i2c, timers and smartreflex. But we're not passing it to the platform functions yet. Let's start doing that in preparation of dropping interconnect target module platform data in favor of device tree based data. Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index a985844dbe39..4a924e444f8d 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -3681,6 +3681,8 @@ int omap_hwmod_init_module(struct device *dev,
3681 oh->flags |= HWMOD_INIT_NO_IDLE; 3681 oh->flags |= HWMOD_INIT_NO_IDLE;
3682 if (data->cfg->quirks & SYSC_QUIRK_NO_RESET_ON_INIT) 3682 if (data->cfg->quirks & SYSC_QUIRK_NO_RESET_ON_INIT)
3683 oh->flags |= HWMOD_INIT_NO_RESET; 3683 oh->flags |= HWMOD_INIT_NO_RESET;
3684 if (data->cfg->quirks & SYSC_QUIRK_USE_CLOCKACT)
3685 oh->flags |= HWMOD_SET_DEFAULT_CLOCKACT;
3684 3686
3685 error = omap_hwmod_check_module(dev, oh, data, sysc_fields, 3687 error = omap_hwmod_check_module(dev, oh, data, sysc_fields,
3686 rev_offs, sysc_offs, syss_offs, 3688 rev_offs, sysc_offs, syss_offs,