[PATCH v2 0/2] Improvements for MAX77620 GPIO driver

From: Dmitry Osipenko
Date: Wed Jul 08 2020 - 11:58:53 EST


Hello!

This series addresses a problem that I discovered on Nexus 7 device where
GPIO interrupts may be left enabled after bootloader and the driver isn't
prepared to this, it also makes a small improvement to the code.

Changelog:

v2: - Addressed review comment that were made by Andy Shevchenko to v1:

- Generic init_hw() callback is used now for resetting interrupts.

- These v1 patches are dropped:

gpio: max77620: Replace interrupt-enable array with bitmap
gpio: max77620: Don't handle disabled interrupts
gpio: max77620: Move variable declaration

Dmitry Osipenko (2):
gpio: max77620: Initialize interrupts state
gpio: max77620: Replace 8 with MAX77620_GPIO_NR

drivers/gpio/gpio-max77620.c | 31 ++++++++++++++++++++++++++++---
1 file changed, 28 insertions(+), 3 deletions(-)

--
2.26.0