distribution/packages/kernel/linux/patches/AMD64/005-winmax2-gyro.patch
2023-06-11 22:47:15 +00:00

12 lines
449 B
Diff

diff --git a/drivers/iio/imu/bmi160/bmi160_i2c.c b/drivers/iio/imu/bmi160/bmi160_i2c.c
index 26398614eddfa..2b3e3e15e2e04 100644
--- a/drivers/iio/imu/bmi160/bmi160_i2c.c
+++ b/drivers/iio/imu/bmi160/bmi160_i2c.c
@@ -43,6 +43,7 @@ MODULE_DEVICE_TABLE(i2c, bmi160_i2c_id);
static const struct acpi_device_id bmi160_acpi_match[] = {
{"BMI0160", 0},
+ {"10EC5280", 0}, /* GPD Win Max 2 */
{ },
};
MODULE_DEVICE_TABLE(acpi, bmi160_acpi_match);