On Thu, Oct 20, 2022 at 09:55:33PM +0200, Hans de Goede wrote: > Depending on which order userspace makes various v4l2 calls, the sensor > might still be powered down when set_fmt is called. > > What should really happen here is delay the writing of the mode-related > registers till streaming is started, but for now use the same quick fix > as the atomisp_ov2680 code and call power_up() from set_fmt() in > combination with keeping track of the power-state to avoid doing the > power-up sequence twice. ... > + /* s_power has not been called yet for std v4l2 clients (camorama) */ > + power_up(sd); if camorama is fixed, will this become a problem? -- With Best Regards, Andy Shevchenko