Thread (22 messages) 22 messages, 5 authors, 2022-01-05

Re: [PATCH 1/6] input: touchscreen: zinitix: Make sure the IRQ is allocated before it gets enabled

From: Linus Walleij <hidden>
Date: 2021-11-09 04:37:51
Also in: linux-input, lkml, phone-devel

On Wed, Oct 27, 2021 at 8:15 PM Nikita Travkin [off-list ref] wrote:
Since irq request is the last thing in the driver probe, it happens
later than the input device registration. This means that there is a
small time window where if the open method is called the driver will
attempt to enable not yet available irq.

Fix that by moving the irq request before the input device registration.

Fixes: 26822652c85e ("Input: add zinitix touchscreen driver")
Signed-off-by: Nikita Travkin <redacted>
Good catch!
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help