Messages in this thread | | | From | Linus Walleij <> | Date | Tue, 9 Nov 2021 05:37:33 +0100 | Subject | Re: [PATCH 1/6] input: touchscreen: zinitix: Make sure the IRQ is allocated before it gets enabled |
| |
On Wed, Oct 27, 2021 at 8:15 PM Nikita Travkin <nikita@trvn.ru> 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 <nikita@trvn.ru>
Good catch! Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |