Re: [PATCH -next] i2c: bcm2835: add missing disable and put clk on error in bcm2835_i2c_probe()
From: Wolfram Sang
Date: Mon Feb 07 2022 - 10:12:12 EST
On Tue, Jun 01, 2021 at 10:08:35PM +0800, Yang Yingliang wrote:
> Add clk_disable_unprepare() and clk_rate_exclusive_put() on error
> path in bcm2835_i2c_probe().
>
> Fixes: bebff81fb8b9 ("i2c: bcm2835: Model Divider in CCF")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
Correct, but I applied another version instead which was a tad better:
http://patchwork.ozlabs.org/project/linux-i2c/patch/338008c444af4785a07fb5a402b60225a4964ae9.1629484876.git.christophe.jaillet@xxxxxxxxxx/
But thanks for working on it!
Attachment:
signature.asc
Description: PGP signature