From 7e978a3b5b37c788ce62d9ca5d7b2827aed0a212 Mon Sep 17 00:00:00 2001 From: Rajendra Nayak Date: Tue, 14 Dec 2010 12:42:36 -0700 Subject: [PATCH] --- yaml --- r: 226590 b: refs/heads/master c: 233cbe5b94096f95ba7bca2162d63275b0b90b5b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap2/omap_hwmod.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index f1e1f4e7037d..ecf0f9875d26 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b56b7bc8d9293b64e7a459527ae78078902751ff +refs/heads/master: 233cbe5b94096f95ba7bca2162d63275b0b90b5b diff --git a/trunk/arch/arm/mach-omap2/omap_hwmod.c b/trunk/arch/arm/mach-omap2/omap_hwmod.c index 31990e92c573..a039b37b8e0c 100644 --- a/trunk/arch/arm/mach-omap2/omap_hwmod.c +++ b/trunk/arch/arm/mach-omap2/omap_hwmod.c @@ -210,10 +210,9 @@ static void _write_sysconfig(u32 v, struct omap_hwmod *oh) /* XXX ensure module interface clock is up */ - if (oh->_sysc_cache != v) { - oh->_sysc_cache = v; - omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs); - } + /* Module might have lost context, always update cache and register */ + oh->_sysc_cache = v; + omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs); } /**