<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/power, branch v2.6.26.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/power?h=v2.6.26.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/power?h=v2.6.26.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-06-09T22:13:51Z</updated>
<entry>
<title>power_supply: Fix race in power_supply_uevent</title>
<updated>2008-06-09T22:13:51Z</updated>
<author>
<name>Dmitry Baryshkov</name>
<email>dbaryshkov@gmail.com</email>
</author>
<published>2008-06-08T15:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=56fa18e8f1ef6b3995a4511e61103d0f9205ff4a'/>
<id>urn:sha1:56fa18e8f1ef6b3995a4511e61103d0f9205ff4a</id>
<content type='text'>
Commit 54d29ad33e3483bcc7ca433a21cf294854e5154a (Power Supply: fix race
in device_create) introduced a race in power_supply_uevent. Previously it
checked that power_supply is available by checking for dev-&gt;driver_data.
But now dev-&gt;driver_data is set before power_supply-&gt;dev is initialised.

Signed-off-by: Dmitry Baryshkov &lt;dbaryshkov@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>Power Supply: fix race in device_create</title>
<updated>2008-05-20T20:31:55Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-05-17T00:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=54d29ad33e3483bcc7ca433a21cf294854e5154a'/>
<id>urn:sha1:54d29ad33e3483bcc7ca433a21cf294854e5154a</id>
<content type='text'>
There is a race from when a device is created with device_create() and
then the drvdata is set with a call to dev_set_drvdata() in which a
sysfs file could be open, yet the drvdata will be NULL, causing all
sorts of bad things to happen.

This patch fixes the problem by using the new function,
device_create_drvdata().

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Anton Vorontsov &lt;cbou@mail.ru&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Merge git://git.infradead.org/battery-2.6</title>
<updated>2008-05-03T17:57:57Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-05-03T17:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=38e80121bd7d0c493072442ac7eddcba165a07a8'/>
<id>urn:sha1:38e80121bd7d0c493072442ac7eddcba165a07a8</id>
<content type='text'>
* git://git.infradead.org/battery-2.6:
  PMU battery: filenames in sysfs with spaces
  pda_power: add init and exit function callbacks
</content>
</entry>
<entry>
<title>PMU battery: filenames in sysfs with spaces</title>
<updated>2008-05-02T23:40:42Z</updated>
<author>
<name>Christian Kujau</name>
<email>lists@nerdbynature.de</email>
</author>
<published>2008-05-02T20:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=35bf559145b6332f5465c15a4e5cd7a363985382'/>
<id>urn:sha1:35bf559145b6332f5465c15a4e5cd7a363985382</id>
<content type='text'>
By changing drivers/power/pmu_battery.c I now have '_' instead of
' ' (spaces) in /sys:

/sys/devices/platform/pmu-battery.0/power_supply/PMU_battery_0
/sys/class/power_supply/PMU_battery_0

I'm still not sure if some userspace tool out there uses the old paths and
will break now.

Signed-off-by: Christian Kujau &lt;lists@nerdbynature.de&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>pda_power: add init and exit function callbacks</title>
<updated>2008-05-02T23:39:55Z</updated>
<author>
<name>Philipp Zabel</name>
<email>philipp.zabel@gmail.com</email>
</author>
<published>2008-04-12T11:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f6b6b180b4614e57af217045f71caedd94821fc7'/>
<id>urn:sha1:f6b6b180b4614e57af217045f71caedd94821fc7</id>
<content type='text'>
This adds init/exit function callbacks to pda_power, to
provide a place where the platform code can request/free
GPIOs that it wants to use in the is_ac_online, is_usb_online
and set_charge functions.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Signed-off-by: Anton Vorontsov &lt;cbouatmailru@gmail.com&gt;
</content>
</entry>
<entry>
<title>x86: olpc: add One Laptop Per Child architecture support</title>
<updated>2008-04-29T15:06:07Z</updated>
<author>
<name>Andres Salomon</name>
<email>dilinger@queued.net</email>
</author>
<published>2008-04-29T07:59:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3ef0e1f8cad0a851b3dbf91802b14af7dd780352'/>
<id>urn:sha1:3ef0e1f8cad0a851b3dbf91802b14af7dd780352</id>
<content type='text'>
This adds support for OLPC XO hardware.  Open Firmware on XOs don't contain
the VSA, so it is necessary to emulate the PCI BARs in the kernel.  This also
adds functionality for running EC commands, and a CONFIG_OLPC.

A number of OLPC drivers depend upon CONFIG_OLPC.

olpc_ec_timeout is a hack to work around Embedded Controller bugs.

[akpm@linux-foundation.org: build fix]
[akpm@linux-foundation.org: geode_has_vsa build fix]
[akpm@linux-foundation.org: olpc_register_battery_callback doesn't exist]
Signed-off-by: Andres Salomon &lt;dilinger@debian.org&gt;
Acked-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Andi Kleen &lt;ak@suse.de&gt;
Cc: Jordan Crouse &lt;jordan.crouse@amd.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>power: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-29T15:05:58Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-29T07:58:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0cddc0a906ee3e47ce3e09107d385ff89f87cd6d'/>
<id>urn:sha1:0cddc0a906ee3e47ce3e09107d385ff89f87cd6d</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Len Brown &lt;lenb@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6</title>
<updated>2008-02-07T17:45:58Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2008-02-07T17:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f0f1b3364ae7f48084bdf2837fb979ff59622523'/>
<id>urn:sha1:f0f1b3364ae7f48084bdf2837fb979ff59622523</id>
<content type='text'>
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (112 commits)
  ACPI: fix build warning
  Revert "cpuidle: build fix for non-x86"
  ACPI: update intrd DSDT override console messages
  ACPI: update DSDT override documentation
  ACPI: Add "acpi_no_initrd_override" kernel parameter
  ACPI: its a directory not a folder....
  ACPI: misc cleanups
  ACPI: add missing prink prefix strings
  ACPI: cleanup acpi.h
  ACPICA: fix CONFIG_ACPI_DEBUG_FUNC_TRACE build
  ACPI: video: Ignore ACPI video devices that aren't present in hardware
  ACPI: video: reset brightness on resume
  ACPI: video: call ACPI notifier chain for ACPI video notifications
  ACPI: create notifier chain to get hotkey events to graphics driver
  ACPI: video: delete unused display switch on hotkey event code
  ACPI: video: create "brightness_switch_enabled" modparam
  cpuidle: Add a poll_idle method
  ACPI: cpuidle: Support C1 idle time accounting
  ACPI: enable MWAIT for C1 idle
  ACPI: idle: Fix acpi_safe_halt usages and interrupt enabling/disabling
  ...
</content>
</entry>
<entry>
<title>power_supply: remove capacity_level from list of sysfs attributes</title>
<updated>2008-02-07T16:42:06Z</updated>
<author>
<name>Thadeu Lima de Souza Cascardo</name>
<email>cascardo@minaslivre.org</email>
</author>
<published>2008-02-07T08:13:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4cbc76eadf56399cd11fb736b33c53aec9caab8c'/>
<id>urn:sha1:4cbc76eadf56399cd11fb736b33c53aec9caab8c</id>
<content type='text'>
This commit:

commit 8efe444038a205e79b38b7ad03878824901849a8
Author: Andres Salomon &lt;dilinger@queued.net&gt;
Date:   Wed Dec 12 14:12:56 2007 -0500

    power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL

Removed CAPACITY_LEVEL from every other code, leaving the array with sysfs
attributes with one more entry than the number of enums in power_supply.h.
This leads to some attributes containing the value of the attribute right
after it.  For example, temp_ambient would have the value of
time_to_empty_now.  In my case, I had time_to_full_avg have the value which
should be in model_name, when the former was usually empty.

Cc: Andres Salomon &lt;dilinger@debian.org&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: battery: add sysfs serial number</title>
<updated>2008-02-06T02:15:50Z</updated>
<author>
<name>maximilian attems</name>
<email>max@stro.at</email>
</author>
<published>2008-01-22T17:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c2670bbb53820d0a4fab8d74593eeccd1eef225'/>
<id>urn:sha1:7c2670bbb53820d0a4fab8d74593eeccd1eef225</id>
<content type='text'>
egrep serial /proc/acpi/battery/BAT0/info
serial number:           32090

serial number can tell you from the imminent danger
of beeing set on fire.

Signed-off-by: maximilian attems &lt;max@stro.at&gt;
Acked-by: Alexey Starikovskiy &lt;astarikovskiy@suse.de&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
