From: Hans de Goede Date: Sat, 5 Feb 2022 19:13:55 +0000 (+0100) Subject: platform/x86: x86-android-tablets: Add IRQ to Asus ME176C accelerometer info X-Git-Tag: v5.18-rc1~118^2~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdac7c8a6ee5662fc7cd27f939984f8f91eadfbf;p=thirdparty%2Fkernel%2Flinux.git platform/x86: x86-android-tablets: Add IRQ to Asus ME176C accelerometer info Add the IRQ for the accelerometer to the Asus ME176C board info. Signed-off-by: Hans de Goede Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20220205191356.225505-5-hdegoede@redhat.com --- diff --git a/drivers/platform/x86/x86-android-tablets.c b/drivers/platform/x86/x86-android-tablets.c index 6174aad572bca..6d3a453d90eb6 100644 --- a/drivers/platform/x86/x86-android-tablets.c +++ b/drivers/platform/x86/x86-android-tablets.c @@ -361,6 +361,12 @@ static const struct x86_i2c_client_info asus_me176c_i2c_clients[] __initconst = .swnode = &asus_me176c_accel_node, }, .adapter_path = "\\_SB_.I2C5", + .irq_data = { + .type = X86_ACPI_IRQ_TYPE_APIC, + .index = 0x44, + .trigger = ACPI_EDGE_SENSITIVE, + .polarity = ACPI_ACTIVE_LOW, + }, }, { /* goodix touchscreen */ .board_info = {