From: Daniel Walker on
On Sat, 2010-07-03 at 12:25 -0700, Gregory Bean wrote:
> Add power-management and irq_chip hooks to allow configuration
> of msm-gpio irq lines as wakeup sources.
>

What level of correlation is there between power management and the wake
up hooks? Just irq_masks ?

Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Greg Bean on
>> Add power-management and irq_chip hooks to allow configuration
>> of msm-gpio irq lines as wakeup sources.
>
> What level of correlation is there between power management and the wake
> up hooks? Just irq_masks ?

When the system sleeps, gpio-based irqs which are not configured as wake-up
sources are disabled in the controller hardware to prevent latching and
unwanted wakeups.

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Daniel Walker on
On Tue, 2010-07-06 at 09:56 -0700, Greg Bean wrote:
> >> Add power-management and irq_chip hooks to allow configuration
> >> of msm-gpio irq lines as wakeup sources.
> >
> > What level of correlation is there between power management and the wake
> > up hooks? Just irq_masks ?
>
> When the system sleeps, gpio-based irqs which are not configured as wake-up
> sources are disabled in the controller hardware to prevent latching and
> unwanted wakeups.

So you could make these two patches? It seems like they're relatively
distinct other than the one fairly ordered dependency you mention above.

Daniel

--
Sent by an consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/