Re: [PATCH] media: ov5640: select the MIPI lane mode from the endpoint lane count
楊智成 <[email protected]>
| Newsgroups | org.kernel.vger.linux-media,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAPwA33JXkioCo0=RC_mO3ZaY-LjCJpWynB7b8chY6eP=fnpvHQ@mail.gmail.com> |
Hi Sakari, > There's no need for a local variable, the above remains within 80 > columns. Dropped - v3 has the write exactly as you wrote it. Thanks, Jason Sakari Ailus <[email protected]> 於 2026年8月11日週二 下午3:22寫道: > > Hi Jason, > > On Tue, Aug 11, 2026 at 03:18:01PM +0800, 楊智成 wrote: > > Hi Sakari, > > > > Thanks for the review. > > > > > I guess there wouldn't be harm from backporting either. > > > > Agreed, switched to a plain stable Cc. > > > > > How about: > > > > > > ret = ov5640_write_reg(sensor, OV5640_REG_IO_MIPI_CTRL00, > > > on ? 0x5 | ep.bus.mipi_csi2.num_data_lanes << 5 : > > > 0x40); > > > > Nicer, thanks - applied, with the lane count in a local variable to > > stay within 80 columns. > > There's no need for a local variable, the above remains within 80 columns. > > -- > Sakari Ailus