Re: [PATCH] OMAP: omap_device: add omap_device_has_lost_context()

2010-04-26 Thread Paul Walmsley
Hi Kevin, a few comments: On Tue, 6 Apr 2010, Kevin Hilman wrote: > Add new function omap_device_has_lost_context() as a simple check > to be used after omap_device_enable() to determine if device has > lost context (and thus needs context restore.) > > Motivation: Currently, each driver needs

[PATCH] OMAP: omap_device: add omap_device_has_lost_context()

2010-04-06 Thread Kevin Hilman
Add new function omap_device_has_lost_context() as a simple check to be used after omap_device_enable() to determine if device has lost context (and thus needs context restore.) Motivation: Currently, each driver needs to read the context-loss count before suspend, and again upon resume to determi

[PATCH] OMAP: omap_device: add omap_device_has_lost_context()

2010-03-17 Thread Kevin Hilman
Add new function omap_device_has_lost_context() as a simple check to be used after omap_device_enable() to determine if device has lost context (and thus needs context restore.) Motivation: Currently, each driver needs to read the context-loss count before suspend, and again upon resume to determi