Re: [PATCH v4 6/9] media: i2c: ov5645: Use runtime PM
From: Lad, Prabhakar
Date: Mon Nov 28 2022 - 08:53:42 EST
Hi Hans,
On Mon, Nov 28, 2022 at 1:49 PM Hans Verkuil <hverkuil@xxxxxxxxx> wrote:
>
<snip>
> > +exit:
> > + ov5645_set_power_off(dev);
> > return ret;
>
> smatch gives this warning:
>
> drivers/media/i2c/ov5645.c:687 ov5645_set_power_on() warn: 'ov5645->xclk' from clk_prepare_enable() not released on lines: 687.
>
> Can you take a look?
>
Sure I'll have a look at it.
Cheers,
Prabhakar