]> git.baikalelectronics.ru Git - kernel.git/commit
Input: bu21013_ts - use interrupt from I2C client
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 9 Aug 2019 17:07:06 +0000 (10:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Sep 2019 16:07:18 +0000 (09:07 -0700)
commit5372632b740465a672c842f8b51946ed61aea964
tree059de1c5f50b07255bc2b1d6fd96114f5733b449
parent7bd7faea5c56a0129164d0af9012c22e765c7619
Input: bu21013_ts - use interrupt from I2C client

Instead of trying to map INT GPIO to interrupt, let's use one supplied by
I2C client. If there is none - bail. This will also allow us to treat INT
GPIO as optional, as per the binding.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
drivers/input/touchscreen/bu21013_ts.c