Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp20397pxb; Wed, 30 Mar 2022 21:42:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlER4vMDf7F0tRO81hYVdn9xp+gQuwMYYKjdOp9MwXEMtUb6ZhOuBlH4jb84uHxtXc28RW X-Received: by 2002:a17:902:d2c6:b0:156:2b2c:ab54 with SMTP id n6-20020a170902d2c600b001562b2cab54mr12802522plc.52.1648701759726; Wed, 30 Mar 2022 21:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648701759; cv=none; d=google.com; s=arc-20160816; b=Sl8mskN02uRZLhex10yYZ7bWnref7NwSCWElvBqJAuoN5vIskIhIDDyTLe5vlRNgXd QJ40CMmqJcNrLZNmxe7uDtKpWxkyulbnxqXVQ/sMfB4YnhiuoqVs+LPDIUkpGFB0qDrh MAt3QiVqsynmaNPE7rXI85ZKmZ5JzisGUW/44+YsHlMk4NMo87QdJDFLtCPBm5/56N4t ZbxbP/MydO+tEHQNrmFp7B0gBwe4z/Wn9L8s0lh5hsxtIPBwhRGBVbXAyAsxBrbEKjsW CtYed3XZtSAD2pJM4krDrspTmBYeuia5ZvVGojkAiZXhsBLaMNbd/swuP0I+pDQ83yZx Jmcg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2GQ9nKMQ251Zs0IhZqIGzxPx4fskDJrmC+MqtLoAT2c=; b=Pf8f7fo9aET6vWhLTK8K3PIHm6TEL871cxnLoQN61rGaFZsPVkKxh/bpCEvo/eyJC+ xlK83YGuolylXWtFq+VdaX/PZKQcl4rDw0OFcmPpvUOsQ3hdWqLIPQtvpr5F/jMUQ92W NIpWqtG9Fopz0tATWqFGvJdwSvI1Zz6JTC/+WxXe+aI3cHS+BfL/vD1zLMioTbpVrL7J mFp8nSWAqAy8OuwA76VvCkodUyGs2fAQKEOQFPSrA5axB+oJxDnvCVNkV/fR6uC4eqcs 3X5iNyYyfycpsmSr6fTh4HH/rut73KQy96wS247ZjvTUoVffePXYBH41iJMvuTRUGzMv hpzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=StZLP1NS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b11-20020a170902d88b00b00153b2d164c9si22187707plz.209.2022.03.30.21.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:42:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=StZLP1NS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8B25F26B38F; Wed, 30 Mar 2022 20:39:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242850AbiC3MJg (ORCPT + 99 others); Wed, 30 Mar 2022 08:09:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344872AbiC3Lxn (ORCPT ); Wed, 30 Mar 2022 07:53:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5595727CE17; Wed, 30 Mar 2022 04:49:52 -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 47313615E2; Wed, 30 Mar 2022 11:49:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DD2AC36AE2; Wed, 30 Mar 2022 11:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648640989; bh=zDnDnqnkUnkvRiU0Bpg3UFg6AFN8i60eOTOfhbTGywk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=StZLP1NS1ZPxXBcVLgxIyWodPqWBcFODNbxver/3fxf4x2BotSHbP3oNyXFr8F1+a o8vfawtoEmi7Dxuq4kSpl09PgpSmG76h4Mt+u7ZTzAzhVoPLmIlUWV5D+THDskhYdo 4U4JhXRdaPEJlr0uoe6kmNKQT3Vjg5CLbcuUni579QmQJDxEJZ/8LnLvvRt4pYN4je wokCkw6AhFuZEGbqu5thsd80Kxolxs/NUrYz3UV9Zmd35WcwEQPsbXz3abnbnZOhgz 51w8zaJ+0AAInia+gju4qLkbojdWkpxuVeIsOZCzQgdwFA3wi1rQR2JG2VG9p/hxdz V2NPsqe2b5PSQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Anthony I Gilea , Rander Wang , Pierre-Louis Bossart , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.16 50/59] ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13" Date: Wed, 30 Mar 2022 07:48:22 -0400 Message-Id: <20220330114831.1670235-50-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220330114831.1670235-1-sashal@kernel.org> References: <20220330114831.1670235-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: Anthony I Gilea [ Upstream commit ce73ef6ec67104d1fcc4c5911d77ce83288a0998 ] HP changed the DMI identification for 2022 devices: Product Name: HP Spectre x360 Conv 13-ap0001na Product Name: 8709 This patch relaxes the DMI_MATCH criterion to work with all versions of this product. Reviewed-by: Rander Wang Signed-off-by: Anthony I Gilea Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220304204532.54675-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/soundwire/dmi-quirks.c | 2 +- sound/soc/intel/boards/sof_sdw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soundwire/dmi-quirks.c b/drivers/soundwire/dmi-quirks.c index 0ca2a3e3a02e..747983743a14 100644 --- a/drivers/soundwire/dmi-quirks.c +++ b/drivers/soundwire/dmi-quirks.c @@ -59,7 +59,7 @@ static const struct dmi_system_id adr_remap_quirk_table[] = { { .matches = { DMI_MATCH(DMI_SYS_VENDOR, "HP"), - DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Conv"), }, .driver_data = (void *)intel_tgl_bios, }, diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 54eefaff62a7..182e23bc2f34 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -184,7 +184,7 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { .callback = sof_sdw_quirk_cb, .matches = { DMI_MATCH(DMI_SYS_VENDOR, "HP"), - DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Convertible"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Spectre x360 Conv"), }, .driver_data = (void *)(SOF_SDW_TGL_HDMI | SOF_SDW_PCH_DMIC | -- 2.34.1