]> git.baikalelectronics.ru Git - kernel.git/commit
video: w100fb: Reduce sleep mode battery discharge
authorPaul Parsons <lost.distance@yahoo.com>
Sun, 3 Jun 2012 10:33:52 +0000 (11:33 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 8 Jul 2012 14:03:02 +0000 (14:03 +0000)
commit0f87e50402b4b11b9758a68728ac8009095783d6
tree83b5698a88601b896e3552cb74a6142ecbdb1b7d
parent3174d55ddfb7f862cfcfdcda49a2793d96685654
video: w100fb: Reduce sleep mode battery discharge

In 2006 and 2007 the handhelds.org kernel w100fb driver was patched to
reduce sleep mode battery discharge. Unfortunately those two patches
never migrated to the mainline kernel.

Fortunately the function affected - w100_suspend() - has not changed
since; thus those patches still apply cleanly.

Applying those patches to linux-3.4-rc3 running on an HP iPAQ hx4700
reduces the sleep mode battery discharge from approximately 26 mA to
approximately 11 mA.

This patch combines those two patches into a single unified patch.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Cc: Matt Reimer <mreimer@sdgsystems.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/w100fb.c