linux-yocto/drivers/acpi
Rafael J. Wysocki c23a410868 Revert "ACPI: battery: negate current when discharging"
commit de1675de39 upstream.

Revert commit 234f715550 ("ACPI: battery: negate current when
discharging") breaks not one but several userspace implementations
of battery monitoring: Steam and MangoHud. Perhaps it breaks more,
but those are the two that have been tested.

Reported-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Closes: https://lore.kernel.org/linux-acpi/87C1B2AF-D430-4568-B620-14B941A8ABA4@linux.dev/
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-17 18:35:14 +02:00
..
acpica ACPICA: Refuse to evaluate a method if arguments are missing 2025-07-10 16:03:17 +02:00
apei firmware: SDEI: Allow sdei initialization without ACPI_APEI_GHES 2025-06-19 15:28:08 +02:00
arm64 ACPI/IORT: Add PMCG platform information for HiSilicon HIP09A 2025-01-09 13:31:51 +01:00
dptf
nfit acpi: nfit: fix narrowing conversion in acpi_nfit_ctl 2025-04-10 14:37:42 +02:00
numa x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks() 2024-06-12 11:11:50 +02:00
pmic ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe() 2024-10-04 16:28:49 +02:00
riscv
x86 ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers 2025-04-10 14:37:42 +02:00
ac.c
acpi_adxl.c
acpi_apd.c
acpi_cmos_rtc.c
acpi_configfs.c
acpi_dbg.c
acpi_extlog.c ACPI: extlog: fix NULL pointer dereference check 2024-02-05 20:14:15 +00:00
acpi_ffh.c
acpi_fpdt.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c ACPI: LPIT: Avoid u32 multiplication overflow 2024-01-25 15:35:14 -08:00
acpi_lpss.c ACPI: LPSS: Advertise number of chip selects via property 2024-06-12 11:11:40 +02:00
acpi_memhotplug.c
acpi_pad.c ACPI: PAD: fix crash in exit_round_robin() 2024-10-10 11:57:23 +02:00
acpi_pcc.c
acpi_platform.c
acpi_pnp.c ACPI: PNP: Add Intel OC Watchdog IDs to non-PNP device list 2025-06-04 14:41:54 +02:00
acpi_processor.c ACPI: processor: Fix memory leaks in error paths of processor_add() 2024-09-12 11:11:42 +02:00
acpi_tad.c
acpi_video.c ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop 2024-02-05 20:14:15 +00:00
acpi_watchdog.c
battery.c Revert "ACPI: battery: negate current when discharging" 2025-07-17 18:35:14 +02:00
bgrt.c
blacklist.c
bus.c ACPI: bus: Bail out if acpi_kobj registration fails 2025-06-27 11:08:52 +01:00
button.c ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue 2024-11-01 01:58:32 +01:00
container.c
cppc_acpi.c ACPI: CPPC: Fix NULL pointer dereference when nosmp is used 2025-06-19 15:28:41 +02:00
custom_method.c
debugfs.c
device_pm.c
device_sysfs.c ACPI: sysfs: validate return type of _STR method 2024-10-04 16:29:52 +02:00
dock.c
ec_sys.c
ec.c ACPI: EC: Set ec_no_wakeup for Lenovo Go S 2025-05-02 07:50:58 +02:00
event.c
evged.c
fan_attr.c
fan_core.c ACPI: fan: cleanup resources in the error path of .probe() 2025-02-08 09:51:52 +01:00
fan.h
glue.c
hed.c ACPI: HED: Always initialize before evged 2025-06-04 14:42:08 +02:00
internal.h ACPI: EC: Evaluate _REG outside the EC scope more carefully 2024-08-29 17:33:13 +02:00
ioapic.c
irq.c
Kconfig ACPI: HED: Always initialize before evged 2025-06-04 14:42:08 +02:00
Makefile
nvs.c
osi.c ACPI: OSI: Stop advertising support for "3.0 _SCP Extensions" 2025-06-19 15:28:05 +02:00
osl.c
pci_irq.c
pci_link.c
pci_mcfg.c
pci_root.c
pci_slot.c
pfr_telemetry.c
pfr_update.c
platform_profile.c ACPI: platform-profile: Fix CFI violation when accessing sysfs files 2025-04-25 10:45:37 +02:00
power.c
pptt.c ACPI: PPTT: Fix processor subtable walk 2025-05-22 14:12:20 +02:00
prmt.c ACPI: PRM: Remove unnecessary strict handler address checks 2025-02-17 09:40:31 +01:00
proc.c
processor_core.c
processor_driver.c
processor_idle.c ACPI: processor: idle: Return an error if both P_LVL{2,3} idle states are invalid 2025-04-10 14:37:36 +02:00
processor_pdc.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
property.c ACPI: property: Fix return value for nval == 0 in acpi_data_prop_read() 2025-02-17 09:40:13 +01:00
reboot.c
resource.c ACPI: resource: Skip IRQ override on ASUS Vivobook 14 X1404VAP 2025-04-10 14:37:42 +02:00
sbs.c ACPI: SBS: manage alarm sysfs attribute through psy core 2024-08-14 13:58:42 +02:00
sbshc.c
sbshc.h
scan.c ACPI: EC: Evaluate _REG outside the EC scope more carefully 2024-08-29 17:33:13 +02:00
sleep.c Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default" 2024-04-13 13:07:36 +02:00
sleep.h
spcr.c
sysfs.c
tables.c
thermal.c
tiny-power-button.c
utils.c
video_detect.c ACPI: video: Add force_vendor quirk for Panasonic Toughbook CF-18 2024-10-10 11:57:24 +02:00
viot.c
wakeup.c