Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6267335rwb; Tue, 9 Aug 2022 12:04:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR59SHuQoVb5Y3VduzIpATc1bCdZ3M222H/BEEh469XtMIWDgHwuEwVAfgyQ2Dj3zOVhjgYN X-Received: by 2002:a05:6a00:9a7:b0:52d:bbf9:c3d5 with SMTP id u39-20020a056a0009a700b0052dbbf9c3d5mr24303681pfg.9.1660071897696; Tue, 09 Aug 2022 12:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071897; cv=none; d=google.com; s=arc-20160816; b=W1Fo2nXv2MuvLQCaHXavyHl/QUjMXdf57CihL+gUapwCnaXYWCd8Xz/M9kOD3bd+Uu /e6Y8eRATE7FwWZK16E56xPm7YxcQnJ86+UJSjqigQez2UNDAfO7FDNXv655ziMcRh/a rDrgNDf+4xh/3pCf5/ipSa+xFrzrqxTpHAsb5XHk5MWHsBjiWoV80cO9JNVWnW6T8Un6 2XOSA8v+xfljg7n7v91J+hZb4dXca+GonlmWr+bzPwuGU+kgk2k2xvq/cCW1oAST8kwN NbYqtPxDg5CXnQ3Ruv/0RjsyRvxWx+6VgmSRnxmhcXFM05gAUGRzTofNqpYQXbqMeZZj Xl0Q== 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=fElDhQg6NKEf59bbG5i858fvxd7Ph7Re6VyN9e6APRxfGPPgSxjlpbhTNRXhge5ptV tU79oCLVJEbVXD55DDWtzLy4qYmjpcN9+e/L8K+ORc2S538CftaeblwhdoLFUwjYCpyV 1EJQIBm2P9YzEH4JNFzzlibj1V0qn6lvwTQsEq86asvboKq11UMgh5yT6L1uDBfdd379 MqCEoZktgJJ9p5cPLNprr5CgMgsXCqkXry6kUpk4+kiUzUOvu6PRExnq32mPqFS55u5q 9vy4Wa07AmBw51WIjIHyamCPkMn70Hc7ZtsB4czEkssIn6BgNyd8DGlh0Indl9ok/Rrs PzXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WdOCGTgw; 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 om17-20020a17090b3a9100b001f2c9c64006si22510311pjb.0.2022.08.09.12.04.42; Tue, 09 Aug 2022 12:04:57 -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=WdOCGTgw; 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 S1345748AbiHISPb (ORCPT + 99 others); Tue, 9 Aug 2022 14:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346030AbiHISMN (ORCPT ); Tue, 9 Aug 2022 14:12:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D26E10; Tue, 9 Aug 2022 11:05:13 -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 ams.source.kernel.org (Postfix) with ESMTPS id 45B5EB817C1; Tue, 9 Aug 2022 18:05:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97962C433D6; Tue, 9 Aug 2022 18:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068306; bh=BczoROFTk10AV+L3GqFxcAmhNea7BN0iCUC/7eVo740=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WdOCGTgweTTp2F0lzT4jnZTtBkGS5vBIW3yDmcZeqQozHH4HlVPVV1CdszFH2t++Y 27az+3dztj56V5Kyz4ozlDrdHVib143ks08C2QsyfjhERJ1OWGv/Cwqy9WZDRSy21g rLE05HqsqzfMxX5rtJegoHO1zYH2YWzAs9DBEB0Y= 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.15 07/30] ACPI: video: Shortening quirk list by identifying Clevo by board_name only Date: Tue, 9 Aug 2022 20:00:32 +0200 Message-Id: <20220809175514.563058207@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175514.276643253@linuxfoundation.org> References: <20220809175514.276643253@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"), }, },