diff options
author | Puyou Lu <puyou.lu@gmail.com> | 2022-05-06 16:06:30 +0800 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-05-06 16:59:29 +0200 |
commit | dba785798526a3282cc4d0f0ea751883715dbbb4 (patch) | |
tree | adbe45905b1ca97329b099b261a851c6a0b46fd2 /arch/arm64 | |
parent | 171865dab096da1ab980a32eeea5d1b88cd7bc50 (diff) |
gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
When one port's input state get inverted (eg. from low to hight) after
pca953x_irq_setup but before setting irq_mask (by some other driver such as
"gpio-keys"), the next inversion of this port (eg. from hight to low) will not
be triggered any more (because irq_stat is not updated at the first time). Issue
should be fixed after this commit.
Fixes: 89ea8bbe9c3e ("gpio: pca953x.c: add interrupt handling capability")
Signed-off-by: Puyou Lu <puyou.lu@gmail.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions