Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6266344rwb; Tue, 9 Aug 2022 12:04:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR5P+fK0RViPvaQE4Aowdekf9I3bk63S6j6jUl3HuOyFdZ68D8c75X4NmYR8bvcAFshCtot/ X-Received: by 2002:a65:6494:0:b0:419:9527:2a69 with SMTP id e20-20020a656494000000b0041995272a69mr20234267pgv.80.1660071845512; Tue, 09 Aug 2022 12:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071845; cv=none; d=google.com; s=arc-20160816; b=RIXVK4cYYntd995CHBkb1131XtQ9U5eVFsoiUpvsVGzfeZuEdBhUl5Z03Gevh+J9a+ VADdBnZUbw0G9nbJ7FrYDEfDUUTDUm30QChypU7wwoqibsrw7UMevzbjUUWJBMNWcD/8 sRFKm/4jMHQfrrHdqVq1iN5EN09ykxtEFE3wGFKsMupv+XkzLJ9/OpqIVbHlEnk3kBD2 tEIWOBcJztaXDNm86A4/yh9TUWm3E882VKL3Pcx0o0P1NXsOqzETgpt+d0WnMVxSRXys WSzN4HaxkRa84xgEwowTbayqDAhqRlk5u3PnrJKCDQE1xor34JkrkdfFWS/n7Hapc9gs dQNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ih8B3I036DwuBTbkvLY38HbUdW+5QDJ4yb5SCdtnIeM=; b=lYli4TZVaZnW2PoqydjZI1ZF9iyDLLU6cN7EGTYaeaOMJOfBZSlurBbXyypwIjwRm3 eI9efEIhKzXQuCMhxrDhsAV0Md6zs4CENt4JUbCCKrHkxIAwCSqyNhD/AtWtwMloHont 4t7i11zy8mu6A4et/FQ5sbBVqrusASKjCsk3euPaya/9GEK2tKf8snrylGhL4RhqwPFe u7afnYpM0Kq33dMf0iJJzuYyZOuCRu3VOmRJJZ2akdH5nKQ0tYTDETSYLDU4qc+KxsHq Z+qcu1DEUoOSeDabUwWMmlHi+cxmpL/4Zv9/2/1k3jTPbdSeMYE0QFDMUZlBaXB5rLUn gPiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HCPgHYoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i62-20020a638741000000b00415b57a54b3si6678773pge.275.2022.08.09.12.03.27; Tue, 09 Aug 2022 12:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HCPgHYoe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343707AbiHISN4 (ORCPT + 99 others); Tue, 9 Aug 2022 14:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343665AbiHISKG (ORCPT ); Tue, 9 Aug 2022 14:10:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A312A274; Tue, 9 Aug 2022 11:04:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5A882610AB; Tue, 9 Aug 2022 18:04:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCEF8C4347C; Tue, 9 Aug 2022 18:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068242; bh=BczoROFTk10AV+L3GqFxcAmhNea7BN0iCUC/7eVo740=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HCPgHYoes0heKijBlhj0hdJi/33j1UUVihXADVQaehZ0STG1LxFYgtiZsEBfH32Ur ej25G0KwAHn+2/7OlmcMFlXBw4VjuNXyAk1TEHbAX9/T+FPvCZGa+jFsLvZHpYiz52 8Lx2yvRYxi33Z+SFs4/DwPiOO4z55Xxn86skff8w= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Werner Sembach , Hans de Goede , "Rafael J. Wysocki" Subject: [PATCH 5.10 08/23] ACPI: video: Shortening quirk list by identifying Clevo by board_name only Date: Tue, 9 Aug 2022 20:00:26 +0200 Message-Id: <20220809175513.171867514@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175512.853274191@linuxfoundation.org> References: <20220809175512.853274191@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Werner Sembach commit f0341e67b3782603737f7788e71bd3530012a4f4 upstream. Taking a recent change in the i8042 quirklist to this one: Clevo board_names are somewhat unique, and if not: The generic Board_-/Sys_Vendor string "Notebook" doesn't help much anyway. So identifying the devices just by the board_name helps keeping the list significantly shorter and might even hit more devices requiring the fix. Signed-off-by: Werner Sembach Fixes: c844d22fe0c0 ("ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU") Cc: All applicable Reviewed-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/video_detect.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -424,23 +424,6 @@ static const struct dmi_system_id video_ .callback = video_detect_force_native, .ident = "Clevo NL5xRU", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xRU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xRU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), }, }, @@ -464,23 +447,6 @@ static const struct dmi_system_id video_ .callback = video_detect_force_native, .ident = "Clevo NL5xNU", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xNU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xNU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), }, },