]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: battery: asynchronous init
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 10 Jan 2009 19:19:05 +0000 (14:19 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 4 Apr 2009 16:51:17 +0000 (12:51 -0400)
commit047ece007fdec84b90f01ff1c52510e1a2f8b380
treecf52ad384538da69af1ec0c75f8296c9be469642
parentec3a5723f9b4608647ac8b9dc290288347f35042
ACPI: battery: asynchronous init

The battery driver tends to take quite some time to initialize
(100ms-300ms is quite typical).
This patch initializes the batter driver asynchronously, so that other
things in the kernel can initialize in parallel to this 300 msec.

As part of this, the battery driver had to move to the back
of the ACPI init order (hence the Makefile change).
Without this move, the next ACPI driver would just block
on the ACPI/devicee layer semaphores until the battery driver was
done anyway, not gaining any boot time.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Makefile
drivers/acpi/battery.c