All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Tasslehoff Kjappfot <tasskjapp@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: Why was the gptimer_wakup from suspend removed?
Date: Mon, 30 Jan 2012 13:36:06 -0800	[thread overview]
Message-ID: <87mx94rhyx.fsf@ti.com> (raw)
In-Reply-To: <3D8305F5-07DF-4B04-981D-762214113CDB@gmail.com> (Tasslehoff Kjappfot's message of "Tue, 24 Jan 2012 23:45:05 +0100")

Hello,

Tasslehoff Kjappfot <tasskjapp@gmail.com> writes:

> It was removed in:
> http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap.git;a=commit;h=98e182a26bbbf5575457622337684ef61493e864
>
> The commit message says a bit about what was done, but not why.

The reason why was because the way it was implemented was a hack and was
causing problems for some other cleanups, so we removed it.

> I'm trying to get suspend somewhat working on my board. The board is
> based on the beagleboard and uses the 1.8V to charge some external
> equipment. My thought was to suspend, wake occasionally to check if
> the charging is done, and shutdown if it is. 

The kernel now has a way to implement exactly this.  Please have a look
at Documentation/power/charger-manager.txt.

> In 2.6.39 which I'm currently using, it's still there, but since it is
> gone in 3.0 and later I'm wondering if I should not rely on it.

No, you should not rely on it.  For your specific case, there is much
better infrastructure to do exactly what you need.

Kevin

      reply	other threads:[~2012-01-30 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 22:45 Why was the gptimer_wakup from suspend removed? Tasslehoff Kjappfot
2012-01-30 21:36 ` Kevin Hilman [this message]

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=87mx94rhyx.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tasskjapp@gmail.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 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.