android_kernel_samsung_a7y1.../drivers/power
Andrey Smirnov a8debb9ddc power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
[ Upstream commit 349ced9984ff540ce74ca8a0b2e9b03dc434b9dd ]

Fix a similar endless event loop as was done in commit
8dcf32175b4e ("i2c: prevent endless uevent loop with
CONFIG_I2C_DEBUG_CORE"):

  The culprit is the dev_dbg printk in the i2c uevent handler. If
  this is activated (for instance by CONFIG_I2C_DEBUG_CORE) it results
  in an endless loop with systemd-journald.

  This happens if user-space scans the system log and reads the uevent
  file to get information about a newly created device, which seems
  fair use to me. Unfortunately reading the "uevent" file uses the
  same function that runs for creating the uevent for a new device,
  generating the next syslog entry

Both CONFIG_I2C_DEBUG_CORE and CONFIG_POWER_SUPPLY_DEBUG were reported
in https://bugs.freedesktop.org/show_bug.cgi?id=76886 but only former
seems to have been fixed. Drop debug prints as it was done in I2C
subsystem to resolve the issue.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 18:14:39 +02:00
..
avs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reset A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
88pm860x_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
88pm860x_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ab8500_bmdata.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ab8500_btemp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ab8500_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ab8500_fg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
abx500_chargalg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
axp20x_usb_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
axp288_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
axp288_fuel_gauge.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq27xxx_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq2415x_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq24190_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq24257_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq24735-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bq25890_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
charger-manager.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
collie_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9030_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9052-battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9150-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9150-fg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds2760_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds2780_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds2781_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds2782_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
generic-adc-battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
goldfish_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel_mid_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ipaq_micro_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
isp1704_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jz4740-battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lp8727_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lp8788-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ltc2941-battery-gauge.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8903_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8925_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8997_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8998_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max14577_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max17040_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max17042_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max77693_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
olpc_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcf50633-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pda_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm2301_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm2301_charger.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmu_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power_supply_core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power_supply_leds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
power_supply_sysfs.c power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG 2020-04-06 18:14:39 +02:00
power_supply.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom_smbb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt5033_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rt9455_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rx51_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
s3c_adc_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sbs-battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smb347-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tosa_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tps65090-charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tps65217_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
twl4030_charger.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
twl4030_madc_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm97xx_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm831x_backup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm831x_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm8350_power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
z2_battery.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30