From: lost.distance@yahoo.com (Paul Parsons)
To: linux-arm-kernel@lists.infradead.org
Subject: PXA PWM possible regression after 3.5: backlight remains off after resume
Date: Sun, 23 Sep 2012 19:13:37 +0100 [thread overview]
Message-ID: <505F5151.5070506@yahoo.com> (raw)
In-Reply-To: <20120923172232.GA1293@avionic-0098.mockup.avionic-design.de>
Hello Thierry,
On 23/09/12 18:22, Thierry Reding wrote:
> On Sun, Sep 23, 2012 at 04:20:24PM +0100, Paul Parsons wrote:
>> There is a possible PXA PWM regression between 3.5 and 3.6-rc6: if I
>> suspend and then resume an iPAQ hx4700, the backlight remains off.
>>
>> In 3.5 the backlight would turn on after the resume.
>>
>> I presumed this is a PWM issue because the PXA PWM driver was reworked
>> and moved trees between 3.5 and 3.6-rc6. And there was mention of
>> broken PWM drivers about a month ago, for example:
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2012-August/115717.html
>>
>> Does my backlight breakage sound familiar to anybody? Is there
>> anything obvious I can try before debugging it further?
>
> Looking at the code from before the move to the PWM subsystem I have a
> hard time understanding how this could have worked for supend/resume in
> the first place. The driver has never supported the supend and resume
> callbacks. Maybe it is also a problem related to some other change.
> Clocking would be a likely candidate. But again I wonder how this ever
> worked properly without the suspend and resume callbacks.
>
> Can you pinpoint more exactly when this failed to break. PXA PWM was
> already included in 3.6-rc1 so if it is related then it should have
> happened at that time already.
The same failure is also present in 3.6-rc1.
Just to be clear, are you saying that drivers/pwm/pwm-pxa.c should
include suspend/resume handlers like in drivers/pwm/pwm-samsung.c ?
Agreed that it is possible that recent changes exposed a latent bug
somewhere, and that turning the backlight on after resume should never
have worked.
next prev parent reply other threads:[~2012-09-23 18:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-23 15:20 PXA PWM possible regression after 3.5: backlight remains off after resume Paul Parsons
2012-09-23 17:22 ` Thierry Reding
2012-09-23 18:13 ` Paul Parsons [this message]
2012-09-25 19:43 ` Robert Jarzmik
2012-09-26 2:02 ` Paul Parsons
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=505F5151.5070506@yahoo.com \
--to=lost.distance@yahoo.com \
--cc=linux-arm-kernel@lists.infradead.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.