linux-yocto/drivers/acpi
Rafael J. Wysocki d216d5a277 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:30:50 +02:00
..
acpica ACPICA: Refuse to evaluate a method if arguments are missing 2025-07-10 15:57:47 +02:00
apei firmware: SDEI: Allow sdei initialization without ACPI_APEI_GHES 2025-06-27 11:05:11 +01:00
arm64 acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block() 2024-12-14 19:50:43 +01:00
dptf
nfit acpi: nfit: fix narrowing conversion in acpi_nfit_ctl 2025-04-10 14:32:06 +02:00
numa ACPI: HMAT: Fix initiator registration for single-initiator systems 2022-12-08 11:28:45 +01:00
pmic ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe() 2024-10-17 15:10:43 +02:00
x86 ACPI: x86: Force StorageD3Enable on more products 2024-07-05 09:14:39 +02:00
ac.c
acpi_adxl.c
acpi_amba.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-23 08:54:38 +01:00
acpi_fpdt.c ACPI: FPDT: properly handle invalid FPDT subtables 2023-11-28 16:56:29 +00:00
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c ACPI: LPIT: Avoid u32 multiplication overflow 2024-01-25 14:52:33 -08:00
acpi_lpss.c ACPI: LPSS: Fix the fractional clock divider flags 2024-01-25 14:52:34 -08:00
acpi_memhotplug.c
acpi_pad.c ACPI: PAD: fix crash in exit_round_robin() 2024-10-17 15:11:24 +02:00
acpi_platform.c
acpi_pnp.c
acpi_processor.c ACPI: processor: Fix memory leaks in error paths of processor_add() 2024-09-12 11:07:52 +02:00
acpi_tad.c
acpi_video.c ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop 2024-02-23 08:54:38 +01:00
acpi_watchdog.c
battery.c Revert "ACPI: battery: negate current when discharging" 2025-07-17 18:30:50 +02:00
bgrt.c
blacklist.c
bus.c ACPI: bus: Bail out if acpi_kobj registration fails 2025-06-27 11:05:28 +01:00
button.c ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue 2024-11-01 01:52:37 +01:00
container.c
cppc_acpi.c ACPI: CPPC: Fix _CPC register setting issue 2024-12-14 19:50:45 +01:00
custom_method.c
debugfs.c
device_pm.c
device_sysfs.c ACPI: sysfs: validate return type of _STR method 2024-10-17 15:11:13 +02:00
dock.c
ec_sys.c
ec.c ACPI: EC: Do not release locks during operation region accesses 2024-10-17 15:11:25 +02:00
event.c
evged.c
fan.c ACPI: fan: cleanup resources in the error path of .probe() 2025-03-13 12:49:56 +01:00
fan.h
glue.c
hed.c ACPI: HED: Always initialize before evged 2025-06-04 14:38:01 +02:00
internal.h
ioapic.c
irq.c ACPI: irq: Fix incorrect return value in acpi_register_gsi() 2023-10-25 11:59:02 +02:00
Kconfig ACPI: HED: Always initialize before evged 2025-06-04 14:38:01 +02:00
Makefile
nvs.c
osi.c ACPI: OSI: Stop advertising support for "3.0 _SCP Extensions" 2025-06-27 11:05:10 +01:00
osl.c
pci_irq.c
pci_link.c
pci_mcfg.c PCI/ACPI: Guard ARM64-specific mcfg_quirks 2022-08-25 11:40:36 +02:00
pci_root.c
pci_slot.c
platform_profile.c ACPI: platform-profile: Fix CFI violation when accessing sysfs files 2025-05-02 07:44:06 +02:00
power.c
pptt.c ACPI: PPTT: Fix processor subtable walk 2025-05-22 14:08:25 +02:00
prmt.c ACPI: PRM: Clean up guid type in struct prm_handler_info 2024-11-14 13:13:42 +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:32:02 +02:00
processor_pdc.c ACPI: processor: Fix evaluating _PDC method when running as Xen dom0 2023-05-11 23:00:22 +09:00
processor_perflib.c ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily 2023-08-03 10:22:46 +02:00
processor_thermal.c ACPI: processor: Remove freq Qos request for all CPUs 2022-08-31 17:16:48 +02:00
processor_throttling.c
property.c acpi: property: Let args be NULL in __acpi_node_get_property_reference 2024-03-01 13:21:52 +01:00
reboot.c
resource.c ACPI: resource: Skip IRQ override on ASUS Vivobook 14 X1404VAP 2025-04-10 14:32:06 +02:00
sbs.c ACPI: SBS: manage alarm sysfs attribute through psy core 2024-08-19 05:45:37 +02:00
sbshc.c
sbshc.h
scan.c ACPI: scan: Fix device check notification handling 2024-03-26 18:21:21 -04:00
sleep.c Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default" 2024-04-13 13:01:45 +02:00
sleep.h
spcr.c
sysfs.c
tables.c
thermal.c ACPI: thermal: Drop nocrt parameter 2023-09-02 09:17:07 +02:00
tiny-power-button.c
utils.c
video_detect.c ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7 2024-07-05 09:14:26 +02:00
viot.c ACPI: VIOT: Initialize the correct IOMMU fwspec 2023-05-11 23:00:23 +09:00
wakeup.c