From: Kevin Hilman <khilman@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: "Raja, Govindraj" <govindraj.raja@ti.com>,
Joe Woodward <jw@terrafix.co.uk>,
linux-omap@vger.kernel.org, Felipe Balbi <balbi@ti.com>,
neilb@suse.de, linux-serial@vger.kernel.org
Subject: Re: Suspend broken on 3.3?
Date: Mon, 09 Apr 2012 10:10:50 -0700 [thread overview]
Message-ID: <874nssde5h.fsf@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1204090944191.6640@utopia.booyaka.com> (Paul Walmsley's message of "Mon, 9 Apr 2012 10:01:24 -0600 (MDT)")
Paul Walmsley <paul@pwsan.com> writes:
[...]
> I don't understand why a user would ever want to disable dynamic wakeups
> on an in-use serial port via the sysfs power/wakeup file. (Disabling
> wakeups from suspend is a different matter, of course.) The OMAP UART
> driver needs hardware wakeups to function for FIFO drain wakeups, etc.
> So to me it really doesn't make sense to disable those types of wakeup
> events, ever. But maybe you know of some use-case that I don't?
No, I don't have a use-case in mind.
The more I try to remember why we added support to use the sysfs wakeup
attribute to manage idle, the more I think we can probably drop it now.
IIRC, it was added because on most boards we used to blindly initialize
all the UARTs, including default wakeup settings (we still do this on
many boards.)
However, now that we have a real PM-aware driver for OMAP UARTs, this
should all be handled from the driver itself, so the sysfs wakeup
attribute should go back to only managing wakeups from suspend and
wakeups during idle should always be on for in-use UARTs.
Kevin
next prev parent reply other threads:[~2012-04-09 17:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <WC20120329112755.541787@terrafix.co.uk>
[not found] ` <WC20120329114024.43178C@terrafix.co.uk>
[not found] ` <CAMrsUdKR4nwbBEOx9JPeS=GLDPyioHuijK2596=q2OwJ+ARbxA@mail.gmail.com>
[not found] ` <WC20120330075339.4017FC@terrafix.co.uk>
[not found] ` <CAMrsUdKTx84_oHyS9JTCBTqtV-7907snCGFDrOXnPuNVSnvz7w@mail.gmail.com>
[not found] ` <WC20120330092609.901834@terrafix.co.uk>
[not found] ` <CAMrsUdJrJZXjYOs87xmT_J0w7S=VZyfR0tBmhhuYOFmFsOB3SA@mail.gmail.com>
[not found] ` <WC20120330110442.381887@terrafix.co.uk>
[not found] ` <CAMrsUd+AvVp3n1oAREEEmCSBaeA-m68j7gLjXEeJKimX1erfUw@mail.gmail.com>
[not found] ` <CAMrsUd+K_EwXfypgYWNyAhR7b47avTpWDemS87OTkpH81cJ6Aw@mail.gmail.com>
[not found] ` <alpine.DEB.2.00.1204040852460.8000@utopia.booyaka.com>
[not found] ` <CAMrsUd+WZcUvHGdR4WyF4uh35D17K9DXFAqpLHKBUbL1_5viDA@mail.gmail.com>
[not found] ` <alpine.DEB.2.00.1204051812320.10302@utopia.booyaka.com>
[not found] ` <87iphdeyaf.fsf@ti.com>
[not found] ` <CAMrsUdLMYVwd3rupHtrNKC0rMvx1-3B=4usOh8cwTUy8DX_hVg@mail.gmail.com>
[not found] ` <87zkalc75h.fsf@ti.com>
2012-04-09 16:01 ` Suspend broken on 3.3? Paul Walmsley
2012-04-09 17:10 ` Kevin Hilman [this message]
2012-04-10 9:26 ` Raja, Govindraj
2012-04-10 18:03 ` Kevin Hilman
2012-04-11 13:13 ` Raja, Govindraj
2012-04-11 19:34 ` Paul Walmsley
2012-04-12 11:51 ` Raja, Govindraj
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=874nssde5h.fsf@ti.com \
--to=khilman@ti.com \
--cc=balbi@ti.com \
--cc=govindraj.raja@ti.com \
--cc=jw@terrafix.co.uk \
--cc=linux-omap@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=neilb@suse.de \
--cc=paul@pwsan.com \
/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;
as well as URLs for NNTP newsgroup(s).