diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 7f4db12b1459..03e9e2f5d9a7 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1405,7 +1405,9 @@ static void _enable_sysc(struct omap_hwmod *oh) | |||
1405 | (sf & SYSC_HAS_CLOCKACTIVITY)) | 1405 | (sf & SYSC_HAS_CLOCKACTIVITY)) |
1406 | _set_clockactivity(oh, oh->class->sysc->clockact, &v); | 1406 | _set_clockactivity(oh, oh->class->sysc->clockact, &v); |
1407 | 1407 | ||
1408 | _write_sysconfig(v, oh); | 1408 | /* If the cached value is the same as the new value, skip the write */ |
1409 | if (oh->_sysc_cache != v) | ||
1410 | _write_sysconfig(v, oh); | ||
1409 | 1411 | ||
1410 | /* | 1412 | /* |
1411 | * Set the autoidle bit only after setting the smartidle bit | 1413 | * Set the autoidle bit only after setting the smartidle bit |