On Wed, Apr 18, 2018 at 02:55:36PM +0200, jacopo mondi wrote: > Hi Akinobu, > > On Mon, Apr 16, 2018 at 11:51:51AM +0900, Akinobu Mita wrote: > > The set_fmt() in subdev pad ops, the s_ctrl() for subdev control handler, > > and the s_frame_interval() in subdev video ops could be called when the > > device is under power saving mode. These callbacks for ov772x driver > > cause updating H/W registers that will fail under power saving mode. > > > > I might be wrong, but if the sensor is powered off, you should not > receive any subdev_pad_ops function call if sensor is powered off. This happens (now that the driver supports sub-device uAPI) if the user opens a sub-device node but the main driver has not powered the sensor on. -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html