Files
android_kernel_xiaomi_sm8450/drivers/gpio
Russell King 31b2d7f7cc gpio: omap: simplify omap_set_gpio_irqenable()
omap_set_gpio_irqenable() calls two helpers that are almost the same
apart from whether they set or clear bits. We can consolidate these:

- in the set/clear bit register case, we can perform the operation on
  our saved context copy and write the appropriate set/clear register.
- otherwise, we can use our read-modify-write helper and invert enable
  if irqenable_inv is set.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-06-12 11:14:36 +02:00
..
2019-04-08 13:03:09 +02:00
2018-03-19 01:50:07 +01:00
2018-05-16 14:35:24 +02:00
2018-08-10 23:19:17 +02:00
2019-02-14 15:14:37 +01:00
2019-04-23 13:02:15 +02:00
2017-12-22 15:24:31 +01:00
2018-01-09 14:51:00 +01:00
2018-11-05 08:54:40 +01:00