Re: [PATCH 12/15] ASoC: twl6040: Enable plug detection interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 06, 2010 at 06:18:15PM -0600, Olaya, Margarita wrote:
> From: Misael Lopez Cruz <misael.lopez@xxxxxx>
> 
> Enable plug detection interrupt mask in order to get headset
> PLUGINT/UNPLUGINT interrupts.
> 
> Signed-off-by: Misael Lopez Cruz <misael.lopez@xxxxxx>
> Signed-off-by: Margarita Olaya Cabrera <magi.olaya@xxxxxx>

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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux