# Re: \[PATCH -next v2\] pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08\_irq()

- From: Linus Walleij \<hidden\>
- Date: 2021-06-09 11:14:39 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/06/1408378
- Thread: https://ratatoskr.run/linux-gpio/2021/06/1405958/t.md

```text
On Tue, Jun 8, 2021 at 8:16 AM Zou Wei [ref] wrote:

> Add the missing unlock before return from function mcp23s08_irq()
> in the error handling case.
>
> v1-->v2:
>    remove the "return IRQ_HANDLED" line
>
> Fixes: 897120d41e7a ("pinctrl: mcp23s08: fix race condition in irq handler")
> Reported-by: Hulk Robot <redacted>
> Signed-off-by: Zou Wei <redacted>

Patch applied.

Yours,
Linus Walleij
```
