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

From: Dmitry Osipenko
Date: Mon Dec 16 2019 - 09:46:04 EST


15.12.2019 21:30, Dmitry Osipenko ÐÐÑÐÑ:
> 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(-)
>

For the reference, here is the WiFi driver fix:

https://patchwork.ozlabs.org/patch/1209997/