From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH] Fix suspend/resume of pxa_camera driver
Date: Fri, 01 Jul 2011 18:41:37 +0200 [thread overview]
Message-ID: <4E0DF8C1.3090109@free.fr> (raw)
In-Reply-To: <Pine.LNX.4.64.1106281515030.30771@axis700.grange>
On 06/28/2011 03:47 PM, Guennadi Liakhovetski wrote:
> Hi Robert
>
> Hope you don't mind me resuming an almost 3 year old mail thread;) I'm
> referring to your patches to soc-camera core and pxa-camera, adding PM
> support to them. Below is your message again, explaining, why the standard
> pm hooks cannot be used to suspend and resume the camera host and the
> camera sensor. While trying to make soc-camera play nicer with the V4L2
> generic framework, I was trying to eliminate as many redundant pieces from
> soc-camera as possible and replace them with standard methods. This made
> me re-consider those your patches. Let's have a look at your
> argumentation:
>
> So, we currently have 3 instances: soc-camera bus, i2c bus, and pxa-camera
> platform device driver. You say, i2c resumes as first, then at some point
> pxa-camera and soc-camera - in this or reverse order. This is why we
> cannoe use i2c-resume to bring the sensor up before pxa-camera has
> restored its master clock. So, currently we hook onto the soc-camera bus,
> which then calls pxa-camera's resume, which then restores camera host's
> state and resumes the sensor. Now, the question: wouldn't this also work,
> if we eliminate the soc-camera resume path? And instead just used
> pxa-camera resume method to bring up the sensor? Coule you please test the
> below patch?
Tested and working, the resume works OK, which means your thinking is
good :)
Cheers.
--
Robert
next prev parent reply other threads:[~2011-07-01 16:41 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-26 23:07 [PATCH] Fix suspend/resume of pxa_camera driver Robert Jarzmik
2008-07-26 23:11 ` Robert Jarzmik
2008-07-27 0:07 ` Guennadi Liakhovetski
2008-07-27 7:17 ` Robert Jarzmik
2008-07-27 19:11 ` Guennadi Liakhovetski
2008-07-27 22:10 ` Alan Stern
2008-07-28 18:37 ` Robert Jarzmik
2008-07-28 18:37 ` [linux-pm] " Robert Jarzmik
2008-08-13 12:16 ` Pavel Machek
2008-07-28 18:33 ` Robert Jarzmik
2008-07-28 18:33 ` Robert Jarzmik
2008-07-29 17:16 ` Guennadi Liakhovetski
2008-07-29 17:16 ` Guennadi Liakhovetski
2008-07-30 21:47 ` Robert Jarzmik
2008-07-30 22:19 ` Guennadi Liakhovetski
2008-07-31 19:57 ` Robert Jarzmik
2008-07-31 21:49 ` Guennadi Liakhovetski
2011-06-28 13:47 ` Guennadi Liakhovetski
2011-07-01 16:41 ` Robert Jarzmik [this message]
2008-07-31 21:51 ` Robert Jarzmik
2008-08-01 20:16 ` Guennadi Liakhovetski
2008-08-01 20:58 ` Robert Jarzmik
2008-08-01 21:26 ` Guennadi Liakhovetski
2008-08-01 22:23 ` Robert Jarzmik
2008-08-01 22:26 ` [PATCH] Add suspend/resume capabilities to soc_camera Robert Jarzmik
2008-08-01 22:26 ` [PATCH] Fix suspend/resume of pxa_camera driver Robert Jarzmik
2008-08-01 23:31 ` Guennadi Liakhovetski
2008-08-02 9:32 ` Robert Jarzmik
2008-08-02 10:21 ` Guennadi Liakhovetski
2008-08-02 10:35 ` Robert Jarzmik
2008-08-01 23:28 ` [PATCH] Add suspend/resume capabilities to soc_camera Guennadi Liakhovetski
2008-08-01 21:26 ` [PATCH] Fix suspend/resume of pxa_camera driver Guennadi Liakhovetski
2008-08-01 20:58 ` Robert Jarzmik
2008-08-01 20:58 ` Robert Jarzmik
2008-08-01 20:16 ` Guennadi Liakhovetski
2008-07-27 19:11 ` Guennadi Liakhovetski
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=4E0DF8C1.3090109@free.fr \
--to=robert.jarzmik@free.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.