i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
Hans de Goede authored
[ Upstream commit 21653a41 ]

Some ACPI i2c-devices _STA method (which is used to detect if the device
is present) use autodetection code which probes which device is present
over i2c. This requires the I2C ACPI OpRegion handler to be registered
before we enumerate i2c-clients under the i2c-adapter.

This fixes the i2c touchpad on the Lenovo ThinkBook 14-IIL and
ThinkBook 15 IIL not getting an i2c-client instantiated and thus not
working.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1842039

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
3e64bb76
Name Last commit Last update
Documentation dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion
arch s390/init: add missing __init annotations
block block: ensure bdi->io_pages is always initialized
certs Replace magic for trusting the secondary keyring with #define
crypto crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
drivers i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
firmware Fix built-in early-load Intel microcode alignment
fs btrfs: qgroup: fix data leak caused by race between writeback and truncate
include NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
init x86: Fix early boot crash on gcc-10, third try
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel printk: handle blank console arguments passed in.
lib test_kmod: avoid potential double free in trigger_config_run_type()
mm mm/swap_state: fix a data race in swapin_nr_pages
net Bluetooth: Handle Inquiry Cancel error after Inquiry Complete
samples samples: bpf: Fix build error
scripts checkpatch: fix the usage of capture group ( ... )
security selinux: sel_avc_get_stat_idx should increase position index
sound ALSA: hda: Fix potential race in unsol event handler
tools selftests/x86/syscall_nt: Clear weird flags after each test
usr initramfs: restore default compression behavior
virt KVM: fix overflow of zero page refcount with ksm running
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.