ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
Maximilian Luz authored
commit 7dacee0b

 upstream.

For some reason, the Microsoft Surface Go 3 uses the standard ACPI
interface for battery information, but does not use the standard PNP0C0A
HID. Instead it uses MSHW0146 as identifier. Add that ID to the driver
as this seems to work well.

Additionally, the power state is not updated immediately after the AC
has been (un-)plugged, so add the respective quirk for that.
Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
d7f29f39
Name Last commit Last update
Documentation x86/speculation: Update link to AMD speculation whitepaper
LICENSES LICENSES: Rename other to deprecated
arch ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
block block: Fix fsync always failed if once failed
certs certs: Trigger creation of RSA module signing key if it's not an RSA key
crypto crypto: pcrypt - Delay write to padata->info
drivers ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
fs nfsd: Containerise filecache laundrette
include esp: Fix possible buffer overflow in ESP transformation
init bpf: Add kconfig knob for disabling unpriv bpf by default
ipc shm: extend forced shm destroy to support objects from several IPC nses
kernel tracing: Ensure trace buffer is at least 4096 bytes large
lib ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
mm memfd: fix F_SEAL_WRITE after shmem huge page allocated
net netfilter: nf_tables: initialize registers in nft_do_chain()
samples samples/kretprobes: Fix return value if register_kretprobe() failed
scripts kconfig: fix failing to generate auto.conf
security ima: Do not print policy rule with inactive LSM labels
sound ALSA: hda/realtek: Add quirk for ASUS GA402
tools Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
usr initramfs: restore default compression behavior
virt KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.