8 May
2019
8 May
'19
10:10 a.m.
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.