Message ID | 20231003155710.821315-1-krzysztof.kozlowski@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2182183vqb; Tue, 3 Oct 2023 08:57:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFl00x03iqiSzppJfmuWe+nDG3mJpHaF9PhIUIymEuPosRbL9JnDSt5CO35/1j0vEJ3ZIcu X-Received: by 2002:a17:902:ee45:b0:1c1:d4f4:cd3c with SMTP id 5-20020a170902ee4500b001c1d4f4cd3cmr13199120plo.31.1696348646116; Tue, 03 Oct 2023 08:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696348646; cv=none; d=google.com; s=arc-20160816; b=d8s2xPPTqiuqf0lrPuNTAVpeChH+ZkHPIJj0PxMjhClMqoRRmKWpzlcOFpN6bA256k o1tOQ1ANDUTt+VEuiK0IUOYe7hYtzKYeizO/Q9S50jyE4OsMN8lOvebzqlS0SrIBgWgD fiATr01qwtQAGShU9jq4F0QZK2z7wRvCArBb3mj6bymkYxudG5O/HXokjnWLR42/y0/N AIxNUy/h715CB2cNh0lnte2sL46xTQxGGeqmdGTj2Sl9a/8uZejXsxalp7gntXCT8+nT qDOWoxyv4ppTI9xEWqgKiQNoJr3nv4U4pkq/m3XdYF3ruTbYm2u2PeW9HiFBgDx9HiAT WosA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=umZ+8oKDYfik3oT0i9Ef96i8g6lg2rgWnjuQEEXA5OA=; fh=q6UDDCakrJd7CzLIKq2QqfcCbBw7OJ4SbzZ8K3ycbr4=; b=zu7GsuZSCiz1+W3+OosqGO/6uIUB9IP6LLp8wVm/3jzJkWzkW61DoGrb0/QnshhIc9 qpSlnD/Bv3gFJIVQbMDwxcPJGDKTj+IqDddRDxunMzcmesQyxchGOEeIO1RujLWnftti 2k0iVtC3Z2205vmJjCOcRCVEBjEiLaBFbqpwI03bKTA20R6byeYGzWudk5hwTNFT6OgG wqVLJrS3hSVCjL8vHmrC2P72ZFeXw20ZA51v3XzJ2Ls/mrF6eQ2dVbWNgV5IEuPulwMH 05k3rI3VEoLHcvcdhA5JKOOCjONyTWIGImaUWP8PlrffPVZpVOkH99o9Jp2l1d9Hoqcm OXsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tp4LPHbe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w17-20020a170902c79100b001c0ab540e67si1575966pla.213.2023.10.03.08.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tp4LPHbe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3A1A6828E8CC; Tue, 3 Oct 2023 08:57:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232218AbjJCP5W (ORCPT <rfc822;chrisfriedt@gmail.com> + 17 others); Tue, 3 Oct 2023 11:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231983AbjJCP5V (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 3 Oct 2023 11:57:21 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EE50A7 for <linux-kernel@vger.kernel.org>; Tue, 3 Oct 2023 08:57:16 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-9ae75ece209so196961966b.3 for <linux-kernel@vger.kernel.org>; Tue, 03 Oct 2023 08:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696348635; x=1696953435; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=umZ+8oKDYfik3oT0i9Ef96i8g6lg2rgWnjuQEEXA5OA=; b=Tp4LPHbeK/QU8dPsAEEC3MHuSqwJ/fiTrDHLB8rIz12KdqEjlt+hDPspjOW8q20knU oukz2q6uVkypXsvF702PtXhdPDzuGDVFD69lNjOUXhpk9KzuOi4b/NB4p1Gws3fWbMFL DNMEgHKAwA4YiCdTxt8V69g9O9eKDL+0y/IzwqEad6uxhi0LT0XUrrVqC0phg4w8znAO Ky43OpYKhQJMyUETIVJGQrO0YvKY5gVU7JBa+74TqGG7xc1Z9FVReJNr8+DTYH/U5+OV Jf/WyhlBDic466FNbg0VWrLj8dePTZKDDd3ve1SYEyOhICSj5kivvO7IzbxJGToTXPLb 9IFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696348635; x=1696953435; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=umZ+8oKDYfik3oT0i9Ef96i8g6lg2rgWnjuQEEXA5OA=; b=PjXXjHdjzkf9NY9uwv8826QOztJ5PSEHuHTvDzyRlGGGxQzvFl2JjBmWr8R/1rwahg nBrNGHMIhcxbb/yqs4cIw+JKLqQiGJ+TciAsK6qzRMA5H20l+aICiSLCxkqv8TMpHXeW y7K3ZBKb0wJlyVncw4kIHZ2MebGWjkTDN26Wwb0AaRBH5cShHXqrrnN/XBOSo+CMi0pG NsD3EndzszAwbcmXsbaHesbxBuz9wFev6HiR3zQZ2HRSt2QOe0fTR+Uswrh7q+CM7/hn s9GKcAJOi1ExVrRUzcaZG9yDo16YkO6GvegXQxVJScW6j45wY8M7Q1OxgpHMIzn46f3j scAw== X-Gm-Message-State: AOJu0Yz0+UWSo2YNww0Dvcjl3oz7+7KUVinI1jiKmQ3Dyx5LRhvQgGfm hxCfUEDoqXLniQqqnTctF9hGkg== X-Received: by 2002:a17:906:13:b0:9ae:588e:142 with SMTP id 19-20020a170906001300b009ae588e0142mr14014095eja.67.1696348634904; Tue, 03 Oct 2023 08:57:14 -0700 (PDT) Received: from krzk-bin.. (5-157-101-10.dyn.eolo.it. [5.157.101.10]) by smtp.gmail.com with ESMTPSA id w25-20020a170906481900b0099bc2d1429csm1288088ejq.72.2023.10.03.08.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 08:57:14 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Banajit Goswami <bgoswami@quicinc.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 0/2] ASoC: codecs: fix widget name comparisons Date: Tue, 3 Oct 2023 17:57:08 +0200 Message-Id: <20231003155710.821315-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 08:57:25 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778750478119633445 X-GMAIL-MSGID: 1778750478119633445 |
Series |
ASoC: codecs: fix widget name comparisons
|
|
Message
Krzysztof Kozlowski
Oct. 3, 2023, 3:57 p.m. UTC
Hi, Some codec drivers compare widget names with strcmp, ignoring the component name prefix. If prefix is used, the comparisons start failing. Add a helper to fix the issue. If the approach looks good, I will fix other codec drivers. Best regards, Krzysztof Krzysztof Kozlowski (2): ASoC: soc-dapm: Add helper for comparing widget name ASoC: codecs: wsa-macro: handle component name prefix include/sound/soc-dapm.h | 1 + sound/soc/codecs/lpass-wsa-macro.c | 4 ++-- sound/soc/soc-component.c | 1 + sound/soc/soc-dapm.c | 12 ++++++++++++ 4 files changed, 16 insertions(+), 2 deletions(-)
Comments
On Tue, 03 Oct 2023 17:57:08 +0200, Krzysztof Kozlowski wrote: > Some codec drivers compare widget names with strcmp, ignoring the component > name prefix. If prefix is used, the comparisons start failing. > Add a helper to fix the issue. > > If the approach looks good, I will fix other codec drivers. > > Best regards, > Krzysztof > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: soc-dapm: Add helper for comparing widget name commit: 76aca10ccb7c23a7b7a0d56e0bfde2c8cdddfe24 [2/2] ASoC: codecs: wsa-macro: handle component name prefix commit: c29e5263d32a6d0ec094d425ae7fef3fa8d4da1c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark