# Re: \[PATCH\] pinctrl: k210: Fix k210\_fpioa\_probe()

- From: Linus Walleij \<hidden\>
- Date: 2021-08-11 13:04:56 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/08/8513554
- Thread: https://ratatoskr.run/linux-gpio/2021/08/8513518/t.md

```text
On Fri, Aug 6, 2021 at 2:43 AM Damien Le Moal [ref] wrote:

> In k210_fpioa_probe(), add missing calls to clk_disable_unprepare() in
> case of error after cenabling the clk and pclk clocks. Also add missing
> error handling when enabling pclk.
>
> Reported-by: kernel test robot <redacted>
> Reported-by: Dan Carpenter <redacted>
> Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
> Cc: <redacted>
> Signed-off-by: Damien Le Moal <redacted>

Patch applied for fixes!

Yours,
Linus Walleij
```
