Re: [PATCH] pinctrl: k210: Fix k210_fpioa_probe()
From: Linus Walleij <hidden>
Date: 2021-08-11 13:04:56
From: Linus Walleij <hidden>
Date: 2021-08-11 13:04:56
On Fri, Aug 6, 2021 at 2:43 AM Damien Le Moal [off-list 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