[PATCH v1 0/3] Tegra GPIO: Minor code clean up

From: Dmitry Osipenko
Date: Sun Dec 15 2019 - 13:31:47 EST


Hello,

I was investigating why CPU hangs during of GPIO driver suspend and in
the end it turned out that it is a Broadcom WiFi driver problem because
it keeps OOB wake-interrupt enabled while WLAN interface is DOWN and this
may cause a bit weird CPU hang on writing to INT_ENB register during of
GPIO driver suspend. Meanwhile I also noticed that a few things could be
improved in the driver, that's what this small series addresses.

Dmitry Osipenko (3):
gpio: tegra: Use generic readl_relaxed/writel_relaxed accessors
gpio: tegra: Properly handle irq_set_irq_wake() error
gpio: tegra: Use NOIRQ phase for suspend/resume

drivers/gpio/gpio-tegra.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)

--
2.24.0