android_kernel_sony_msm8994/drivers/power
Dmitry Baryshkov 56fa18e8f1 power_supply: Fix race in power_supply_uevent
Commit 54d29ad33e (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->driver_data.
But now dev->driver_data is set before power_supply->dev is initialised.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2008-06-10 02:13:51 +04:00
..
apm_power.c apm_power: check I.intval for zero value, we use it as the divisor 2008-02-02 02:44:34 +03:00
ds2760_battery.c power: replace remaining __FUNCTION__ occurrences 2008-04-29 08:05:58 -07:00
Kconfig Don't compile the PMU power driver on 64-bit PowerPC 2007-07-23 12:42:45 +01:00
Makefile [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
olpc_battery.c x86: olpc: add One Laptop Per Child architecture support 2008-04-29 08:06:07 -07:00
pda_power.c pda_power: add init and exit function callbacks 2008-05-03 03:39:55 +04:00
pmu_battery.c PMU battery: filenames in sysfs with spaces 2008-05-03 03:40:42 +04:00
power_supply_core.c Power Supply: fix race in device_create 2008-05-20 13:31:55 -07:00
power_supply_leds.c power: replace remaining __FUNCTION__ occurrences 2008-04-29 08:05:58 -07:00
power_supply_sysfs.c power_supply: Fix race in power_supply_uevent 2008-06-10 02:13:51 +04:00
power_supply.h Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00