diff options
author | Grigoryev Denis <grigoryev@fastwel.ru> | 2018-05-04 18:53:18 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-05-23 11:47:26 +0200 |
commit | 0a70fe00efea7c6ac087a10aa57131e59d63e194 (patch) | |
tree | 34b2b86251c9e770813ce87a9f7998dc37ef4ab5 /ipc | |
parent | gpio: zynq: Setup chip->base based on alias ID (diff) | |
download | linux-0a70fe00efea7c6ac087a10aa57131e59d63e194.tar.xz linux-0a70fe00efea7c6ac087a10aa57131e59d63e194.zip |
gpio: pca953x: Clear irq trigger type on irq shutdown
The driver stores the result of irq_set_type() in the internal variables
irq_trig_raise and irq_trig_fall, which later are used to determine
the GPIOs that must be re-configured as input. These variables retain their
value between gpiolib's export / unexport, resulting in an incorrect
state in some cases. The corresponding bits in the variables
irq_trig_raise and irq_trig_fall should be cleared in irq_shutdown().
Signed-off-by: Denis Grigoryev <grigoryev@fastwel.ru>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions