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

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 7 14:34:17 CET 2010

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
> 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.

More information about the Alsa-devel mailing list