RE: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-21 Thread Nayak, Rajendra
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Friday, October 15, 2010 9:10 PM To: Shilimkar, Santosh Cc: Nayak, Rajendra; linux-omap@vger.kernel.org; Paul Walmsley; Cousson, Benoit Subject: Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case

Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-21 Thread Cousson, Benoit
On 10/21/2010 12:13 PM, Nayak, Rajendra wrote: snip Hi Kevin, What the patch does is reprogram's the sysc value (from the cache) whenever its lost. So its infact saved in the cache and restored when needed. Otherwise, all this patch does is refresh the _sysc_cache with completely unknown

Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-21 Thread Kevin Hilman
Nayak, Rajendra rna...@ti.com writes: -Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Friday, October 15, 2010 9:10 PM To: Shilimkar, Santosh Cc: Nayak, Rajendra; linux-omap@vger.kernel.org; Paul Walmsley; Cousson, Benoit Subject: Re: [PATCH] OMAP:

Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-15 Thread Kevin Hilman
Shilimkar, Santosh santosh.shilim...@ti.com writes: -Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Friday, October 15, 2010 3:44 AM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Paul Walmsley; Cousson, Benoit; Shilimkar, Santosh Subject: Re:

[PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-14 Thread Rajendra Nayak
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). Signed-off-by: Rajendra Nayak rna...@ti.com Cc: Paul

Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-14 Thread Kevin Hilman
Rajendra Nayak rna...@ti.com writes: 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). Shouldn't the

RE: [PATCH] OMAP: hmwod: Update the sysc_cache in case module context is lost

2010-10-14 Thread Shilimkar, Santosh
-Original Message- From: Kevin Hilman [mailto:khil...@deeprootsystems.com] Sent: Friday, October 15, 2010 3:44 AM To: Nayak, Rajendra Cc: linux-omap@vger.kernel.org; Paul Walmsley; Cousson, Benoit; Shilimkar, Santosh Subject: Re: [PATCH] OMAP: hmwod: Update the sysc_cache in case