Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3321946rwa; Tue, 23 Aug 2022 02:48:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR4I1r+4RIlnjh8dubInv6aPwKmy0pHroAOuzqn9yMfdlbPJb3MXY/HmY1IBBOsq2dfrLtxa X-Received: by 2002:a63:81c6:0:b0:42a:3d97:723c with SMTP id t189-20020a6381c6000000b0042a3d97723cmr16256832pgd.9.1661248115046; Tue, 23 Aug 2022 02:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661248115; cv=none; d=google.com; s=arc-20160816; b=jnIkqF+tqJtp9RJWs5YhS2abx2egHzpk9Hondl7cIPvqCuqOs8z9gMZnwmVVohHJmK 9FuuR/BIhFylXrrmtmZ4zoki7Bg3RWQfN8GmJawCZ6DcUI7ftjqQzglk+c1Q9vArca6A XlewpySnAff9fiWAtMWLe/eKLCL7tlAnNMVOKPQOker0/isJBPbvInQyD9d1ghXH0i4B EFLmG3OhVE8PCwsiWLVPfiFFm4QbdiuUUsAT6mwfbG/d7Q3NxVbIDkqmZrI73VCFZRgz 1z3YelGRNJHliS5C4c2D2wCMoKyfvgGR3HVKZU1TAZv/IG4PWJLasPd4DJE4GfWneO/s 8W5Q== 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=ErOJJikyOW8Efdyuh7RjLlzkrEr9GDznSZPdP5CkyygVqVLqH3dDk21pFl5HLjkgrs CLYpwIlY1qoEdQvRqmQIMriV7apSKkm24TYLpojvan9uT4TyUkZLFMxoIjLfglLO5zwG U16/qxJFg2FfsYrKwJvSXm3978bZDsCrw50d5hXo3W/NW5MXFs/RpNjNv77XhBIJ/JOf 8X0ur2bEIdN69jq1364A3ak3XR5gbaRo5pEmVkJ2990VaRK9kFvv1Ap+bfjB6f9qTHJc 3SX3RFC2G2fdWevMYoz2RTlHZOyzJhpW2YIChU8hi4l3v+TBmaCGsofq0cJRFbDddRmT IkGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=K8IFQvrp; 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 t185-20020a6381c2000000b0042a37db75f6si10972483pgd.535.2022.08.23.02.48.23; Tue, 23 Aug 2022 02:48:35 -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=K8IFQvrp; 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 S1347321AbiHWIol (ORCPT + 99 others); Tue, 23 Aug 2022 04:44:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239922AbiHWImF (ORCPT ); Tue, 23 Aug 2022 04:42:05 -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 E3B9E7AC3F; Tue, 23 Aug 2022 01:20:16 -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 44844B81C48; Tue, 23 Aug 2022 08:18:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F580C433D6; Tue, 23 Aug 2022 08:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661242725; bh=0RH08DlYaBDEIvYoq52VEKqDG4diNbNpOF8jgqGa704=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K8IFQvrpBq1N+8PqvP/kbWoNncu5SLZfnaacRxUJi895YqT5rKKRuMMyuxkR0KAML 5sNjn+bdxOIwDNB+66u1u0wZ1sVOcO+wKF0sljrqNt8087/qNPlTu0YXMBrHMGozSA x26O+JV1GGZV3IU48M5gM6WtswISh7ZTQq9z7bu8= 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.19 181/365] ASoC: tas2770: Allow mono streams Date: Tue, 23 Aug 2022 10:01:22 +0200 Message-Id: <20220823080125.799694042@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080118.128342613@linuxfoundation.org> References: <20220823080118.128342613@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,