diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-01-16 20:46:24 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-02 09:30:06 -0800 |
commit | dee520e368f54e1bc0e387bfda7ef4e0676e248b (patch) | |
tree | 10f1ed503f37b5a058241b5169b56a4dd0828162 /drivers/input/mouse/atarimouse.c | |
parent | d9202af2ffa083f096684fd5f4b530aebbc07439 (diff) | |
download | blackbird-op-linux-dee520e368f54e1bc0e387bfda7ef4e0676e248b.tar.gz blackbird-op-linux-dee520e368f54e1bc0e387bfda7ef4e0676e248b.zip |
Input: rotary_encoder - use threaded irqs
Convert to use threaded IRQs to support GPIOs that can sleep.
Protect the irq handler with mutex as it can be triggered from
two different irq lines accessing the same state.
This allows using GPIO expanders behind I2C or SPI bus.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/atarimouse.c')
0 files changed, 0 insertions, 0 deletions