mbox series

[GIT,PULL] power-supply changes for 6.4-rc

Message ID 20230525165442.lnltc55c6ivirtub@mercury.elektranox.org
State New
Headers show
Series [GIT,PULL] power-supply changes for 6.4-rc | expand


ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v6.4-rc


Sebastian Reichel May 25, 2023, 4:54 p.m. UTC
Hi Linus,

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v6.4-rc

for you to fetch changes up to 95339f40a8b652b5b1773def31e63fc53c26378a:

  power: supply: Fix logic checking if system is running from battery (2023-05-16 23:02:56 +0200)

Power Supply Fixes for 6.4 cycle

Fixes for the 6.4 cycle:
 * Fix power_supply_get_battery_info for devices without parent
   devices resulting in NULL pointer dereference
 * Fix desktop systems reporting to run on battery once a power-supply
   device with device scope appears (e.g. a HID keyboard with a battery)
 * Ratelimit debug print about driver not providing data
 * Fix race condition related to external_power_changed in multiple
   drivers (ab8500, axp288, bq25890, sc27xx, bq27xxx)
 * Fix LED trigger switching from blinking to solid-on when charging
 * Fix multiple races in bq27xxx battery driver
 * mt6360: handle potential ENOMEM from devm_work_autocancel
 * rt9467: avoid passing 0 to dev_err_probe

ChiaEn Wu (1):
      power: supply: rt9467: Fix passing zero to 'dev_err_probe'

Daisuke Nojiri (1):
      power: supply: sbs-charger: Fix INHIBITED bit for Status reg

Hans de Goede (15):
      power: supply: ab8500: Fix external_power_changed race
      power: supply: axp288_fuel_gauge: Fix external_power_changed race
      power: supply: bq25890: Fix external_power_changed race
      power: supply: sc27xx: Fix external_power_changed race
      power: supply: leds: Fix blink to LED on transition
      power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
      power: supply: bq27xxx: Fix I2C IRQ race on remove
      power: supply: bq27xxx: Fix poll_interval handling and races on remove
      power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
      power: supply: bq27xxx: Move bq27xxx_battery_update() down
      power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
      power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
      power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
      power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
      power: supply: bq24190: Call power_supply_changed() after updating input current

Huacai Chen (1):
      power: supply: Fix power_supply_get_battery_info() if parent is NULL

Kang Chen (1):
      power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe

Marek Vasut (1):
      power: supply: Ratelimit no data debug output

Mario Limonciello (1):
      power: supply: Fix logic checking if system is running from battery

 drivers/power/supply/ab8500_btemp.c        |   6 +-
 drivers/power/supply/ab8500_fg.c           |   6 +-
 drivers/power/supply/axp288_fuel_gauge.c   |   2 +-
 drivers/power/supply/bq24190_charger.c     |   1 +
 drivers/power/supply/bq25890_charger.c     |   5 +-
 drivers/power/supply/bq27xxx_battery.c     | 181 ++++++++++++++++-------------
 drivers/power/supply/bq27xxx_battery_i2c.c |   3 +-
 drivers/power/supply/mt6360_charger.c      |   4 +-
 drivers/power/supply/power_supply_core.c   |  15 ++-
 drivers/power/supply/power_supply_leds.c   |   5 +-
 drivers/power/supply/power_supply_sysfs.c  |   3 +-
 drivers/power/supply/rt9467-charger.c      |   2 +-
 drivers/power/supply/sbs-charger.c         |   2 +-
 drivers/power/supply/sc27xx_fuel_gauge.c   |   9 +-
 include/linux/power/bq27xxx_battery.h      |   4 +
 15 files changed, 136 insertions(+), 112 deletions(-)