From: Rajendra Nayak Date: Tue, 14 Dec 2010 19:42:36 +0000 (-0700) Subject: OMAP2+: hwmod: Update the sysc_cache in case module context is lost X-Git-Tag: v2.6.38-rc1~469^2~15^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233cbe5b94096f95ba7bca2162d63275b0b90b5b;p=pandora-kernel.git OMAP2+: hwmod: Update the sysc_cache in case module context is lost Do not skip the sysc programming in the hmwod framework based on the cached value alone, since at times the module might have lost context (due to the Powerdomain in which the module belongs transitions to either Open Switch RET or OFF). Identifying if a module has lost context requires atleast one register read, and since a register read has more latency than a write, it makes sense to do a blind write always. Signed-off-by: Rajendra Nayak Acked-by: Kevin Hilman Signed-off-by: Paul Walmsley Cc: Benoit Cousson Cc: Santosh Shilimkar --- Reading git-diff-tree failed