[alsa-devel] [PATCH 12/15] ASoC: twl6040: Enable plug detection interrupts

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 7 14:35:25 CET 2010

On Tue, Dec 07, 2010 at 01:34:17PM +0000, Mark Brown wrote:
> On Mon, Dec 06, 2010 at 06:18:15PM -0600, Olaya, Margarita wrote:
> > From: Misael Lopez Cruz <misael.lopez at ti.com>
> > 
> > Enable plug detection interrupt mask in order to get headset
> > PLUGINT/UNPLUGINT interrupts.
> > 
> > Signed-off-by: Misael Lopez Cruz <misael.lopez at ti.com>
> > Signed-off-by: Margarita Olaya Cabrera <magi.olaya at ti.com>
> Might it not be better to enable these interrupts only if the board has
> set up jack detection?  Otherwise you'll just get interrupts that don't
> serve any purpose which is a waste of time/power.

Sorry, meant to ack this though:

Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

More information about the Alsa-devel mailing list