android_kernel_xiaomi_sm8350/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
ds2760_battery.c
Kconfig
Makefile
olpc_battery.c
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_supply_sysfs.c power_supply: Fix race in power_supply_uevent 2008-06-10 02:13:51 +04:00
power_supply.h