[PATCH 48/74] GIC: Added dummy handlers for Power Management Suspend Resume

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Sep 3 03:34:21 EDT 2010


On Fri, Sep 03, 2010 at 11:54:06AM +0530, deepaksi wrote:
> On 9/2/2010 3:53 PM, Russell King - ARM Linux wrote:
> > On Mon, Aug 30, 2010 at 04:09:12PM +0530, Viresh KUMAR wrote:
> >   
> >> From: Deepak Sikri <deepak.sikri at st.com>
> >>
> >>     
> > The reason being?
> >
> >   
> 
> For configuring the wake up sources ( normally in the PM framework for
> suspend resume operations), you need to use the following set of api
> enable_irq_wake(). This handler has a appropriate callback for the vic,
> similar to the plugin that we have added in for gic which does enable
> the wake interrupt sources only. But since gic handler did not had this
> call back associated was always returning -ENXIO, which was breaking the
> existing drivers. In case no checks are provided for the return value of 
> enable_irq_wake(), the things were fine.

So how are wakeup sources configured if this callback does nothing?



More information about the linux-arm-kernel mailing list