Update v5.17 patches

Changes:
 - Add quirk to prevent HID touchscreen from showing an erroneous empty
   battery for the stylus.

Links:
 - kernel: 509898fcf7
This commit is contained in:
Maximilian Luz 2022-05-25 17:24:33 +02:00
parent f1cf6916f9
commit db5d478c8c
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
4 changed files with 64 additions and 16 deletions

View file

@ -1,4 +1,4 @@
From 00cef986201865bbfc218d4c5fc779cb877eece9 Mon Sep 17 00:00:00 2001
From 93fa65ace198e7abaa1a27e42f3ebcf509022902 Mon Sep 17 00:00:00 2001
From: Werner Sembach <wse@tuxedocomputers.com>
Date: Wed, 27 Apr 2022 17:40:53 +0200
Subject: [PATCH] ACPI: battery: Make "not-charging" the default on no charging
@ -81,3 +81,51 @@ index dc208f5f5a1f..306513fec1e1 100644
--
2.36.1
From a29f2ab8670becc07a56ccdfe3a7a1fe64730803 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Wed, 25 May 2022 14:20:10 +0200
Subject: [PATCH] HID: hid-input: add Surface Go battery quirk
Similar to the Surface Go (1), the (Elantech) touchscreen/digitizer in
the Surface Go 2 mistakenly reports the battery of the stylus. Instead
of over the touchsreen device, battery information is provided via
bluetooth and the touchscreen device reports an empty battery.
Apply the HID_BATTERY_QUIRK_IGNORE quirk to to ignore this battery and
prevent the erroneous low battery warnings.
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Patchset: surface-battery
---
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-input.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 78bd3ddda442..288766674c6a 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -405,6 +405,7 @@
#define USB_DEVICE_ID_ASUS_UX550VE_TOUCHSCREEN 0x2544
#define USB_DEVICE_ID_ASUS_UX550_TOUCHSCREEN 0x2706
#define I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN 0x261A
+#define I2C_DEVICE_ID_SURFACE_GO2_TOUCHSCREEN 0x2A1C
#define USB_VENDOR_ID_ELECOM 0x056e
#define USB_DEVICE_ID_ELECOM_BM084 0x0061
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 56ec27398a00..263a977801bf 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -336,6 +336,8 @@ static const struct hid_device_id hid_battery_quirks[] = {
HID_BATTERY_QUIRK_IGNORE },
{ HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_SURFACE_GO_TOUCHSCREEN),
HID_BATTERY_QUIRK_IGNORE },
+ { HID_I2C_DEVICE(USB_VENDOR_ID_ELAN, I2C_DEVICE_ID_SURFACE_GO2_TOUCHSCREEN),
+ HID_BATTERY_QUIRK_IGNORE },
{}
};
--
2.36.1

View file

@ -1,4 +1,4 @@
From 9b62ff3261ee0d1447fadafbba9243d5726708b9 Mon Sep 17 00:00:00 2001
From bab798deb7e8defbe4a0f5bb02e6254a3261c21c Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 10 Oct 2021 20:56:57 +0200
Subject: [PATCH] ACPI: delay enumeration of devices with a _DEP pointing to an
@ -74,7 +74,7 @@ index c82b1bfa1c3d..2227625202aa 100644
--
2.36.1
From 1b644cf52bd707216921409e34b28367e0c033ff Mon Sep 17 00:00:00 2001
From afc8f21e4250f6ff57c9385be877943253491d94 Mon Sep 17 00:00:00 2001
From: zouxiaoh <xiaohong.zou@intel.com>
Date: Fri, 25 Jun 2021 08:52:59 +0800
Subject: [PATCH] iommu: intel-ipu: use IOMMU passthrough mode for Intel IPUs
@ -191,7 +191,7 @@ index a91eed82bb39..0d16c6bf0e0b 100644
--
2.36.1
From c91db3c87b3ace9eb3b8751d16a8d81918167aa1 Mon Sep 17 00:00:00 2001
From 997c2b1f0237bc456dc61e869e78a4487bca07d9 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Sun, 10 Oct 2021 20:57:02 +0200
Subject: [PATCH] platform/x86: int3472: Enable I2c daisy chain
@ -228,7 +228,7 @@ index 22f61b47f9e5..e1de1ff40bba 100644
--
2.36.1
From 87e937e41f4b0ee24743f8d23b873e38a9b4c8ff Mon Sep 17 00:00:00 2001
From c3c397ab746342288b4299b452c3ae2fd615be44 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Thu, 28 Oct 2021 21:55:16 +0100
Subject: [PATCH] media: i2c: Add driver for DW9719 VCM
@ -734,7 +734,7 @@ index 000000000000..8451c75b696b
--
2.36.1
From b3f48443b9e4d4fd4d62e157a1a9fc5c5a3172c1 Mon Sep 17 00:00:00 2001
From 49bf34135d89166093cfea5f817e5ac6862b0ccf Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 13 Dec 2021 22:38:17 +0000
Subject: [PATCH] media: entity: Skip non-data links in graph iteration
@ -769,7 +769,7 @@ index b411f9796191..d0563ee4b28b 100644
--
2.36.1
From 0016f1cc163433a701cfb3bf2724b2498977aec1 Mon Sep 17 00:00:00 2001
From 84e122d9c2fa461ce17b61989b5676c695a07fba Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 13 Dec 2021 22:53:09 +0000
Subject: [PATCH] media: media.h: Add new media link type
@ -853,7 +853,7 @@ index 200fa8462b90..afbae7213d35 100644
--
2.36.1
From 8263f61bdcef252cf1f847e96ac70a3f237a176c Mon Sep 17 00:00:00 2001
From b9085eecf59dc89d1b82337697e455b31cdd4e1c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 13 Dec 2021 22:36:31 +0000
Subject: [PATCH] media: entity: Add link_type_name() helper
@ -908,7 +908,7 @@ index d0563ee4b28b..1a7d0a4fb9e8 100644
--
2.36.1
From 1d5ac8ff430953b6e4a21145444bb4784b62ce61 Mon Sep 17 00:00:00 2001
From 6f6547dac5f877a7c07c0f947167d3af109888fb Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Mon, 13 Dec 2021 22:54:10 +0000
Subject: [PATCH] media: entity: Add support for ancillary links
@ -985,7 +985,7 @@ index fea489f03d57..2a58defc4886 100644
--
2.36.1
From d73c5be1644e13387421d110a777a4ca2a89b180 Mon Sep 17 00:00:00 2001
From eb85a0a2c18d5596e996322286ffb1bcc326443c Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Fri, 26 Nov 2021 22:55:50 +0000
Subject: [PATCH] media: v4l2-async: Create links during
@ -1058,7 +1058,7 @@ index 0404267f1ae4..436bd6900fd8 100644
--
2.36.1
From 359b0ab317c47c26eb3827148900c2fd37de5386 Mon Sep 17 00:00:00 2001
From 613f354f08b44f7e0909c7ffde8f9ce69c81acc8 Mon Sep 17 00:00:00 2001
From: Daniel Scally <djrscally@gmail.com>
Date: Wed, 4 May 2022 23:21:45 +0100
Subject: [PATCH] media: ipu3-cio2: Move functionality from .complete() to

View file

@ -1,4 +1,4 @@
From 06d469f4087d37327bb5e73f86252a75dc154e8d Mon Sep 17 00:00:00 2001
From cdc9fb2f64ebffa0f587d9dcebb5070703a784a3 Mon Sep 17 00:00:00 2001
From: Sachi King <nakato@nakato.io>
Date: Sat, 29 May 2021 17:47:38 +1000
Subject: [PATCH] ACPI: Add quirk for Surface Laptop 4 AMD missing irq 7
@ -65,7 +65,7 @@ index 0d01e7f5078c..2b06cf5f2b1f 100644
--
2.36.1
From ea19767e72dac9648cf5cb7a8a7005b61a070327 Mon Sep 17 00:00:00 2001
From fceaab89173a0d9d3e55d3b90e06c15ca4f04cc7 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@gmail.com>
Date: Thu, 3 Jun 2021 14:04:26 +0200
Subject: [PATCH] ACPI: Add AMD 13" Surface Laptop 4 model to irq 7 override

View file

@ -60,9 +60,9 @@ sha256sums=('SKIP'
'8b161659e9d69de9f8561c50a4c342a28f6caab3a73152eaecfd019673cfebed'
'ed2a748ae411dee5afbcd2daa64c33d525610b5c595c6182f583110066dfad46'
'6a00f3fcc2390f3c707635b2300e43e0dc1752c33406696941b7ac328b1c854e'
'd5bf2afe265200461f416c0a98d8c3ceab9002a4821c78c9838554bb661a5059'
'a79126001ae2a985c99a8bae8b95470a6ae947f4b6ec2dde20e29a39f1304b5a'
'f3e93d74dd67e340f87ff68383ee2f4053be12404f319e60cd222bbbced9ae96')
'dd3cf7456ce9e26ca501b90de1e6edbbb64ceecc732e61b5e3626bb9d9f1dc8f'
'359bb1a9d9cdc42db7492329d1778527a4239ab15f00849d19c5748851fbe0f6'
'f29adc52c916bdee49c14cdf3facd805b97e694a51300eaa760307704a7080ac')
export KBUILD_BUILD_HOST=archlinux