* Why was the gptimer_wakup from suspend removed?
@ 2012-01-24 22:45 Tasslehoff Kjappfot
2012-01-30 21:36 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Tasslehoff Kjappfot @ 2012-01-24 22:45 UTC (permalink / raw)
To: linux-omap
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.
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. 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.
Tasslehoff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Why was the gptimer_wakup from suspend removed?
2012-01-24 22:45 Why was the gptimer_wakup from suspend removed? Tasslehoff Kjappfot
@ 2012-01-30 21:36 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2012-01-30 21:36 UTC (permalink / raw)
To: Tasslehoff Kjappfot; +Cc: linux-omap
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-30 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 22:45 Why was the gptimer_wakup from suspend removed? Tasslehoff Kjappfot
2012-01-30 21:36 ` Kevin Hilman
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.