Re: [PATCH 1/2] ASoC: Add support for Conexant CX2072X CODEC

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

 



On Wed, 08 May 2019 10:10:06 +0200,
Mark Brown wrote:
> 
> On Mon, May 06, 2019 at 05:26:51PM +0200, Takashi Iwai wrote:
> > Mark Brown wrote:
> 
> > > Like I say if the device is using the fact that the pin is a GPIO
> > > there's quite likely something wrong - that shouldn't be something that
> > > the user of an interrupt should need to see.
> 
> > Yeah, unfortunately we have no reference, so the only chance would be
> > to test with another board that has a different setup.
> 
> The GPIO/IRQ equivalence thing should just be a purely Linux internal
> thing - looking at the driver it appears that there's no need to look at
> the GPIO status, Linux can tell if something is plugged in purely by
> reading the chip registers so the jack status function could directly be
> the interrupt handler.

But it can't see the button status or detect the headset type without
reading the codec's magic registers...  So some help from the codec
side is required, and the irq handler isn't in the codec side because
there is no i2c irq assigned but only ACPI gpio, as far as I checked.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux