Message ID | 20230124123049.285395-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2126571wrn; Tue, 24 Jan 2023 04:43:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXvPQaFAYeB50FfgVKOBUL9MeyPuyvMHcwoxSmCHQbIYgEFbPJfS+nKCNTbCz81AeQDcNI4A X-Received: by 2002:a17:907:c019:b0:867:ef3f:dd85 with SMTP id ss25-20020a170907c01900b00867ef3fdd85mr29600782ejc.56.1674564222954; Tue, 24 Jan 2023 04:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674564222; cv=none; d=google.com; s=arc-20160816; b=S1cdg+ZEWpnu6HpOMXe/fFHk8nhV5F5pFXhAaN234ngMtTqP8F4dgSuHbIZL3hqN+t GbqbjS5jIaMV3r8odFmK6hRc1Bt6YZ3/LRKZ/K6V3TAdyKtTRX2TUXt6WWdtccIMVH7R I55HiSdj51WO31OCjdHNW1AWC+4MvCWsQK6oj+Xl8zERlfswGKxRLAOtC9k1LRxvEYR8 9Ifm0AdEgemzGhj4zuvo670vBBy3xvVOVM6nfVLNCl+CKfg28/n60NQXyv1VAU+9Ta1b FT+DEklnX/STpBFeWjXOzfjDFlCDc5x0asNfQUvT0dKPmRxtR6ys6lLPYYqlq7b9dx2S d2Lw== 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=/edt5p2gptX1Yr8iTGEIPIaPkWv+29GnkFExbVNe7+Q=; b=cxKt+BYcc5C7/pB53LGCjynXKYiFodKKRJhXq9pUQb6QcXjp/mR8giqQLjjwGCKfQC SE27ucNlALmPbp18AZ6Wk98s7EfdkNBsTp0TACYmWxy5oPrJJGFo4/UXcJd8FTjte4aQ ncrZsRW9hsAZw3Y4sN98gyIpOHc97AYOrdbiXbI2Pcnml8S1bgb98Gfhg8u4BzRyosIY SRddTzBK3tsHXLCwiysvKiUoKe2FQxFr9WwO961BpP47Ojjdv51dxReqdtKES7zPkJgT OgZaxF/JBKfYTw2YHdpBw1cUKnQhaMhks/J34tEoQX7Y/A0vvyHxyruUWIOnzHgN2bhK S49w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SwP1b453; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi21-20020a1709070c9500b007ae0e8f697fsi2290334ejc.652.2023.01.24.04.43.18; Tue, 24 Jan 2023 04:43:42 -0800 (PST) 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=@linaro.org header.s=google header.b=SwP1b453; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233876AbjAXMa4 (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Tue, 24 Jan 2023 07:30:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233731AbjAXMaz (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Jan 2023 07:30:55 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 778A8170F for <linux-kernel@vger.kernel.org>; Tue, 24 Jan 2023 04:30:54 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id y1so9225610wru.2 for <linux-kernel@vger.kernel.org>; Tue, 24 Jan 2023 04:30:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/edt5p2gptX1Yr8iTGEIPIaPkWv+29GnkFExbVNe7+Q=; b=SwP1b453lPpB8Bk2UiqxslsCzhUb7NEApaNdDthpaijuJwAiREKdtBQ3nle2qbSIYl nvPE/Vc/BRQxVivmhzJ4aTkBgahNfC6WxSFsBj1p/EFDf6+QIYvcyaXkOav6uoCpJy+m qDvZF94+bCBVS+nvXXp9cEzretOSETfN5QyZvT6pJ0466/Yg8N7dpRISbjkBMhtQ6SFo jl5Iz1AMoQtb2KrpNfKiu6NeIFfWHf2vid7gWxv2ZioSWdGlcfYmxE0khSlbCiUFAs+9 RuBZcWFM2fW4rSaV0DSPSzTkrJEbUGJqxLrgcG9wkbXclNiSVZMAsZSffwqyZfajMXpH TI4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=/edt5p2gptX1Yr8iTGEIPIaPkWv+29GnkFExbVNe7+Q=; b=TeKXWbFmwGQ20wmTvP1T7SRqhnucOwdxYVo8ulPOD0gnGAAB6kZNVYnHeuSoctzK1v wxOn6G5pSIvDdi/N7wD8npayo2bSm5Wmc0I3/KrrWS3BVPo9bg6TZmo8/blWOh5Ze+L0 rYncfT+B1wthQbPzpAxzqiDKNezV84icjn5IKB+N+PGEMbOgTJGZcjTlL622uJJ8jwzM 8cEtOl+SJ09LfzOGWB7Ab6sO6emeItokKwckGeFhUy/GedM2+/fRuJyAIP8LWtDjd1xx LAdFY6Oq1/n8JCi1K02YzjiBICWchD5+bDByjSEiTfuJwWCd6otIrpkQmM7gGdL5DRlJ VKrw== X-Gm-Message-State: AFqh2ko6KF3yVwJEf0L5f81vqVTHVo4LAr+Sa1C2zLRX8iW6cwoNXOcM 6Mj8k0ygVEaFqiBNVXlu6gOygg== X-Received: by 2002:a5d:5f06:0:b0:2bd:d1be:ec99 with SMTP id cl6-20020a5d5f06000000b002bdd1beec99mr18750958wrb.66.1674563452973; Tue, 24 Jan 2023 04:30:52 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id f9-20020a5d4dc9000000b002ba2646fd30sm2127613wru.36.2023.01.24.04.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 04:30:52 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Banajit Goswami <bgoswami@quicinc.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, stable@vger.kernel.org Subject: [PATCH] ASoC: codecs: wsa883x: correct playback min/max rates Date: Tue, 24 Jan 2023 13:30:49 +0100 Message-Id: <20230124123049.285395-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_NONE, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755907854286440070?= X-GMAIL-MSGID: =?utf-8?q?1755907854286440070?= |
Series |
ASoC: codecs: wsa883x: correct playback min/max rates
|
|
Commit Message
Krzysztof Kozlowski
Jan. 24, 2023, 12:30 p.m. UTC
Correct reversed values used in min/max rates, leading to incorrect
playback constraints.
Cc: <stable@vger.kernel.org>
Fixes: 43b8c7dc85a1 ("ASoC: codecs: add wsa883x amplifier support")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
sound/soc/codecs/wsa883x.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Tue, 24 Jan 2023 13:30:49 +0100, Krzysztof Kozlowski wrote: > Correct reversed values used in min/max rates, leading to incorrect > playback constraints. > > Applied to broonie/sound.git for-next Thanks! [1/1] ASoC: codecs: wsa883x: correct playback min/max rates commit: 100c94ffde489ee11e23400f2a07b236144b048f 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
diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c index 8d69ed340e83..be211422d38f 100644 --- a/sound/soc/codecs/wsa883x.c +++ b/sound/soc/codecs/wsa883x.c @@ -1359,8 +1359,8 @@ static struct snd_soc_dai_driver wsa883x_dais[] = { .stream_name = "SPKR Playback", .rates = WSA883X_RATES | WSA883X_FRAC_RATES, .formats = WSA883X_FORMATS, - .rate_max = 8000, - .rate_min = 352800, + .rate_min = 8000, + .rate_max = 352800, .channels_min = 1, .channels_max = 1, },