soc-camera: Handling hardware reset?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

With an ov7670 I have been using soc_camera_link.reset to pass in board specific
hardware reset of the sensor. (Is this a correct usage? The reset must occur
before the chip is used.)

Unfortunately this function is called on every initialization of the camera
(so on probe and before taking images). Basically any call to open()

This would be fine if the v4l2_subdev_core_ops.init  was called after every
call of this (ensuring valid state post reset). 

Previously I was using the soc_camera_ops.init to call the core init function
thus putting the register values back before capturing, but now it's gone from
the interface.

What is the right way to do this?

Thanks,

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux