On Tue, Feb 21, 2023 at 03:59:00PM +0100, Hans de Goede wrote: > Remove the crop_needs_override local helper variable from > atomisp_set_fmt(), as it always is true now. ... > + sink_crop.width = DIV_NEAREST_STEP( > + sink_crop.height * > + f->fmt.pix.width, > + f->fmt.pix.height, > + ATOM_ISP_STEP_WIDTH); Not sure how long this code stays, I would indent it as sink_crop.width = DIV_NEAREST_STEP(sink_crop.height * f->fmt.pix.width, f->fmt.pix.height, ATOM_ISP_STEP_WIDTH); ... > + sink_crop.height = DIV_NEAREST_STEP( > + sink_crop.width * > + f->fmt.pix.height, > + f->fmt.pix.width, > + ATOM_ISP_STEP_HEIGHT); Ditto. -- With Best Regards, Andy Shevchenko