Re: [PATCH v2 2/2] media: i2c: mira016: Add driver for Mira016
From: Sakari Ailus
Date: Sat Sep 12 2026 - 07:56:45 EST
On Tue, Sep 08, 2026 at 12:34:00PM +0200, Jacopo Mondi wrote:
> > > > > > > > + /* TODO: Implement D-PHY configuration to support continuous clock. */
> > > > > > > > + if (!(ep_cfg.bus.mipi_csi2.flags & V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK)) {
> > > > > > > > + v4l2_fwnode_endpoint_free(&ep_cfg);
> > > > > > >
> > > > > > > Instead of callind v4l2_fwnode_endpoint_free() here and above, I'd add a
> > > > > > > label for error handling.
> > > > > > >
> > > > > >
> ^
> |-- Here ?
Yes, please.
--
Sakari Ailus