Re: [PATCH 3/4] media: mt9m111: fix device power usage

From: Sakari Ailus
Date: Mon Aug 22 2022 - 02:32:23 EST


Hi Marco,

On Thu, Aug 18, 2022 at 04:47:11PM +0200, Marco Felsch wrote:
> Currently the driver turn off the power after probe and toggle it during
> .stream by using the .s_power callback. This is problematic since other
> callbacks like .set_fmt accessing the hardware as well which will fail.
> So in the end the default format is the only supported format.

It'd be much better to add runtime PM support to the driver instead.

--
Sakari Ailus