diff options
author | Nikita Travkin <nikita@trvn.ru> | 2022-01-08 23:19:19 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-01-08 23:24:28 -0800 |
commit | cf73ed894ee939d6706d65e0cd186e4a64e3af6d (patch) | |
tree | 7b86e077b0d908fc9bec290d47a049ab5a982abe /Documentation/devicetree/bindings/gpio/gpio-ath79.txt | |
parent | bc7ec91718c49d938849697cfad98fcd9877cc26 (diff) | |
download | linux-stable-cf73ed894ee939d6706d65e0cd186e4a64e3af6d.tar.gz linux-stable-cf73ed894ee939d6706d65e0cd186e4a64e3af6d.tar.bz2 linux-stable-cf73ed894ee939d6706d65e0cd186e4a64e3af6d.zip |
Input: zinitix - make sure the IRQ is allocated before it gets enabled
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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Fixes: 26822652c85e ("Input: add zinitix touchscreen driver")
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20220106072840.36851-2-nikita@trvn.ru
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-ath79.txt')
0 files changed, 0 insertions, 0 deletions