mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	ACPI: resource: do IRQ override on Lenovo 14ALC7
Commitbfcdf58380("ACPI: resource: do IRQ override on LENOVO IdeaPad") added an override for Lenovo IdeaPad 5 16ALC7. The 14ALC7 variant also suffers from a broken touchscreen and trackpad. Fixes:9946e39fe8("ACPI: resource: skip IRQ override on AMD Zen platforms") Link: https://bugzilla.kernel.org/show_bug.cgi?id=216804 Signed-off-by: Adrian Freund <adrian@freund.io> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
		
							parent
							
								
									7592b79ba4
								
							
						
					
					
						commit
						f3cb9b7408
					
				
					 1 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
					@ -435,7 +435,14 @@ static const struct dmi_system_id asus_laptop[] = {
 | 
				
			||||||
	{ }
 | 
						{ }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct dmi_system_id lenovo_82ra[] = {
 | 
					static const struct dmi_system_id lenovo_laptop[] = {
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							.ident = "LENOVO IdeaPad Flex 5 14ALC7",
 | 
				
			||||||
 | 
							.matches = {
 | 
				
			||||||
 | 
								DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
 | 
				
			||||||
 | 
								DMI_MATCH(DMI_PRODUCT_NAME, "82R9"),
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		.ident = "LENOVO IdeaPad Flex 5 16ALC7",
 | 
							.ident = "LENOVO IdeaPad Flex 5 16ALC7",
 | 
				
			||||||
		.matches = {
 | 
							.matches = {
 | 
				
			||||||
| 
						 | 
					@ -469,8 +476,8 @@ struct irq_override_cmp {
 | 
				
			||||||
static const struct irq_override_cmp override_table[] = {
 | 
					static const struct irq_override_cmp override_table[] = {
 | 
				
			||||||
	{ medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
 | 
						{ medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
 | 
				
			||||||
	{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
 | 
						{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
 | 
				
			||||||
	{ lenovo_82ra, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
 | 
						{ lenovo_laptop, 6, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
 | 
				
			||||||
	{ lenovo_82ra, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
 | 
						{ lenovo_laptop, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
 | 
				
			||||||
	{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
 | 
						{ schenker_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue