mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
gpiolib: acpi: Ignore GPIO 11 interrupt on Acer Nitro 16S AI
The Acer Nitro 16S AI (AN16S-61) has the same problem as the Acer Nitro V 16S AI: the firmware powers the internal USB camera (0408:4059) through GPIO 11 of AMDI0030, but also lists that pin in _AEI. Requesting it as an input cuts the power, so the camera never enumerates. On this model the same rail also powers the internal microphones, so they do not work either. Booting with gpiolib_acpi.ignore_interrupt=AMDI0030:00@11 fixes both the camera and the microphones. Add a DMI quirk for this family too. Tested-by: Trijan Koju <trijankoju11@gmail.com> Assisted-by: LLM Signed-off-by: Abduvaliy Abdulazizov <abduvaliy.hbai@gmail.com> Acked-by: Mika Westerberg <westeri@kernel.org> Link: https://patch.msgid.link/20261007120944.1705014-1-abduvaliy.hbai@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
parent
c117172a46
commit
5a088d1b72
|
|
@ -343,6 +343,20 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
|
|||
.ignore_interrupt = "AMDI0030:00@11",
|
||||
},
|
||||
},
|
||||
{
|
||||
/*
|
||||
* Same camera power enable on GPIO 11 as the Acer Nitro V 16S AI
|
||||
* above. It also powers the internal microphones.
|
||||
* Found in BIOS V1.53
|
||||
*/
|
||||
.matches = {
|
||||
DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
|
||||
DMI_MATCH(DMI_PRODUCT_FAMILY, "Acer Nitro 16S AI"),
|
||||
},
|
||||
.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
|
||||
.ignore_interrupt = "AMDI0030:00@11",
|
||||
},
|
||||
},
|
||||
{
|
||||
/*
|
||||
* Wakeup only works when keyboard backlight is turned off
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user