Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3409080rwa; Tue, 23 Aug 2022 04:24:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6VYKAD2tn7KZlp7G4RYcoNnFhE3SKYs6L39UQ/rujcBlUCpyZeQ3rz0FpAyMZ7xDNDwZEP X-Received: by 2002:a63:1c1c:0:b0:41e:27a7:a6aa with SMTP id c28-20020a631c1c000000b0041e27a7a6aamr20548488pgc.454.1661253895734; Tue, 23 Aug 2022 04:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661253895; cv=none; d=google.com; s=arc-20160816; b=Pve9K0VY4/iLFFO4O4jsMORoyWCEI6IpGQ4pVvBZKTT25T9K1Oye/4dTUdX0kmWXyD lZ/a1uAKXA+ebM11Ppu0KE+MU95dUKIy6U4/znJoZEd+kuiVQAo+Mc8lrnPIU3S1Ordf Rt7p8JsMZ6XaQcfdWUd2j6GGdAnUxlSXsRw/Bwov9RTxZzJCLPOQ7t9qxe9Bv7T4LeSn DNEJPl/2c9sU/Pn549kHj2j73q9jPNUNCiHbGBPtwUoL1gs0x18qwul1g1oMoyf7kov9 +v11aUOJNpjiFNOdUoRdgDLLM9DeJaTlYkRVz6BeSyUnyptVJcy63kUjnUnXDEyRNNMO AKXg== 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=GNGkYhtD3mp0yW/KBk74NNCWeYUroPB+QC2YdvEs7Bk=; b=hrTctOlJYJDPMsZgTGHpO07XeXTY/OZesYBC20vigUUxRAChmSWZN7L4/YkH8J4qX/ MA4/5sgDVKlE0YWumfZ9NmMLx1pSWz2etSELkPZspV0id4KvvqbmpEIwyxgKdINm0zqF HsK2JCUdeebycxobYUWWfVj232xKSpPkclS3bKrYJ8V6cMnqBeiW96YrRMAOUwRVR4ol UAIH7UcgrtOxEpKaf/2wWBNeYNcTzh9nH21bxvoCwcFgoXeq8v9RSUXLl40u5z2fheuB g1ey6665OtCSyLO27FB5MqBT8ggfspmbQw6B8wGidZJDCHg1CHSbz37YbMmTsYMnmGDA S4Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=c2kgCilD; 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 y186-20020a638ac3000000b00421904fd399si14793991pgd.347.2022.08.23.04.24.44; Tue, 23 Aug 2022 04:24:55 -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=c2kgCilD; 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 S1353222AbiHWKOh (ORCPT + 99 others); Tue, 23 Aug 2022 06:14:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352800AbiHWKGR (ORCPT ); Tue, 23 Aug 2022 06:06:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A8C32E; Tue, 23 Aug 2022 01:53:01 -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 436C361377; Tue, 23 Aug 2022 08:53:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43BEFC433C1; Tue, 23 Aug 2022 08:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244780; bh=0RH08DlYaBDEIvYoq52VEKqDG4diNbNpOF8jgqGa704=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c2kgCilD/Bd7VQYjGQmxPQ75/7cw4vyCfzOYpTl5tg/CSutfNnkeic3VugEsLVu1z pMpf3WoiXLZxxEvBycFoDm/ECQbmMv5NyxLd87xIZPv99P3C00ug8zoOg0eiTcLyLU arau9qEuNERKvM4SPpUKnmZWEQFDjleLxGfBtLvM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Martin=20Povi=C5=A1er?= , Mark Brown Subject: [PATCH 5.15 119/244] ASoC: tas2770: Allow mono streams Date: Tue, 23 Aug 2022 10:24:38 +0200 Message-Id: <20220823080103.004658234@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080059.091088642@linuxfoundation.org> References: <20220823080059.091088642@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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: Martin Povišer commit bf54d97a835dfe62d4d29e245e170c63d0089be7 upstream. The part is a mono speaker amp, but it can do downmix and switch between left and right channel, so the right channel range is 1 to 2. Fixes: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver") Signed-off-by: Martin Povišer Link: https://lore.kernel.org/r/20220808141246.5749-3-povik+lin@cutebit.org Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/tas2770.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/soc/codecs/tas2770.c +++ b/sound/soc/codecs/tas2770.c @@ -507,7 +507,7 @@ static struct snd_soc_dai_driver tas2770 .id = 0, .playback = { .stream_name = "ASI1 Playback", - .channels_min = 2, + .channels_min = 1, .channels_max = 2, .rates = TAS2770_RATES, .formats = TAS2770_FORMATS,