Re: mxs_lradc_ts: Warning due to "0 is an invalid IRQ number"

From: Marc Zyngier
Date: Tue Jun 21 2022 - 12:39:41 EST


Hi Fabio,

On 2022-06-21 17:23, Fabio Estevam wrote:
Hi Marc,

On Tue, Jun 21, 2022 at 12:41 PM Marc Zyngier <maz@xxxxxxxxxx> wrote:

Something like the hack below could potentially make things less
broken, but I'm not holding my breath. If nobody cares, let's remove
the code altogether.

With your patch applied, the warning is gone, thanks.

The touchscreen is registered:

[ 8.207461] input: mxs-lradc-ts as
/devices/soc0/80000000.apb/80040000.apbx/80050000.lradc/mxs-lradc-ts/input/input0

but when I run "cat /dev/input/event0" and touch the screen, no irq
event is generated.

Looking at cat /proc/interrupts shows that no mxs-lradc-touchscreen
irq happened:

216: 0 - 10 Edge mxs-lradc-touchscreen

I'm not sure I can help you further on that. '10' seems to be
the correct interrupt for the interrupt number (irq index 0 in
the lradc device).

You'll have to debug it further, I'm afraid.

M.
--
Jazz is not dead. It just smells funny...