From: Jonathan Cameron <jic23@cam.ac.uk>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: soc-camera: Handling hardware reset?
Date: Tue, 01 Sep 2009 19:44:40 +0100 [thread overview]
Message-ID: <4A9D6B98.5090003@cam.ac.uk> (raw)
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
next reply other threads:[~2009-09-01 18:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-01 18:44 Jonathan Cameron [this message]
2009-09-02 16:07 ` soc-camera: Handling hardware reset? Guennadi Liakhovetski
2009-09-02 18:36 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A9D6B98.5090003@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=g.liakhovetski@gmx.de \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox