Re: Why was the gptimer_wakup from suspend removed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Tasslehoff Kjappfot <tasskjapp@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux