projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d1d66
)
platform/x86: x86-android-tablets: Add IRQ to Asus ME176C accelerometer info
author
Hans de Goede
<hdegoede@redhat.com>
Sat, 5 Feb 2022 19:13:55 +0000
(20:13 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Fri, 11 Feb 2022 09:50:29 +0000
(10:50 +0100)
Add the IRQ for the accelerometer to the Asus ME176C board info.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link:
https://lore.kernel.org/r/20220205191356.225505-5-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/x86-android-tablets.c
b/drivers/platform/x86/x86-android-tablets.c
index 6174aad572bca75702e6a13ef00abb13b3b2e318..6d3a453d90eb6cf1f627fdbc731a4bff1df82dec 100644
(file)
--- 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 = {