Re: [PATCH v2 2/3] media: mt9m111: fix device power usage

From: Sakari Ailus
Date: Mon Sep 19 2022 - 09:13:49 EST


On Mon, Sep 19, 2022 at 03:10:09PM +0200, Marco Felsch wrote:
> On 22-09-19, Laurent Pinchart wrote:
> > On Mon, Sep 19, 2022 at 12:45:42PM +0000, Sakari Ailus wrote:
> > > Hi Marco,
> > >
> > > On Fri, Sep 16, 2022 at 03:57:12PM +0200, Marco Felsch wrote:
> > > > @@ -758,10 +751,14 @@ static int mt9m111_g_register(struct v4l2_subdev *sd,
> > > > if (reg->reg > 0x2ff)
> > > > return -EINVAL;
> > > >
> > > > + mt9m111_s_power(sd, 1);
> > >
> > > It would be nice to have this driver converted to runtime PM. Up to you.
> >
> > I second that :-)
>
> I would rather keep it this way and add 2nd patch to change. So it would
> be easier to backport the patch.

Works for me.

--
Sakari Ailus