diff options
author | Nikita Travkin <nikita@trvn.ru> | 2022-01-08 23:19:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-11 15:25:02 +0100 |
commit | 674071c9eb26ae75a63dd7d6a49857a00c903754 (patch) | |
tree | 130c93935d2caa2c06144b32dc9d42bc6dc0f257 /.get_maintainer.ignore | |
parent | ef81f7d406c2f77fa0942db732adb8de1f4dca11 (diff) | |
download | linux-rt-674071c9eb26ae75a63dd7d6a49857a00c903754.tar.gz |
Input: zinitix - make sure the IRQ is allocated before it gets enabled
commit cf73ed894ee939d6706d65e0cd186e4a64e3af6d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions