lkml.org 
[lkml]   [2017]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] v4l2: device_register_subdev_nodes: allow calling multiple times
Hi!

> Please find my comments below.

Thanks for quick review, will fix.

> > switch (vfwn.base.port) {
> > case ISP_OF_PHY_CSIPHY1:
> > - buscfg->interface = ISP_INTERFACE_CSI2C_PHY1;
> > + if (csi1)
>
> You could compare vfwn.bus_type == V4L2_MBUS_CSI2 for this. But if you
> choose the local variable, please make it bool instead.

I prefer variable, will switch to bool.

> > +
> > + buscfg->bus.ccp2.lanecfg.data[0].pos = 1;
>
> Shouldn't this be vfwn.bus.mipi_csi1.data_lane ?
>
> > + buscfg->bus.ccp2.lanecfg.data[0].pol = 0;
>
> And this one is vfwn.bus.mipi_csi1.lane_polarity[1] .

Thanks for catching this.

Checkpatch issues will be fixed.

Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-02-28 10:18    [W:0.108 / U:1.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site