Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1885039pxb; Mon, 13 Sep 2021 07:31:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNWsuWPNGLPVKYJrYn+jrn+YwhBCl9VZEhpcP7iDrn5oLdtyLxFuizeb3iVf2kPy8tf456 X-Received: by 2002:a05:6e02:d05:: with SMTP id g5mr4367286ilj.34.1631543487654; Mon, 13 Sep 2021 07:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631543487; cv=none; d=google.com; s=arc-20160816; b=YnfP+c2XDQO+w/DOtl/95C8gW/6++JhG3K5qSUbnZIB6VhpbUshP+ySu1/d+bUPSQp s3TkDx/6UUqxhj3xnywqQpz89LIvmGZR7csSyhAwKpTT3TvMNg1keahRLpkNIhJSq+av GHiGTT9WwwosbteJBKwZZfrsLDyebQYWeiwdzYoze2axk12rJfiRORFx1HNyuYtODhxG zvsDJjRLQjQqRjQYQ2lXplz+Rm9rfN9BW3He5dC+bvtGeVCSSoc5CTjT6ipw+Hm+4s6k cy3iZuYFYyRY4Pk8UKT8duBYadweFFEUKznR+PtfOjb7CYyY9HTS3mOUIhG+U2lC722s fQEg== 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=2Q+5yhxwM/sNLSHc0q1EPuuF1FTJMQYpk7nLx5QOuKg=; b=EfPhgrUzTs96YH+AB7iKQqjOi+nRpBn7o36pd/Gu2iN/+DxGZ0zgLeOze1zEeUUUNF so0FAvDqxRZbLSaL9NeXu7GgFjgekmvnLLBEng7wa6g5Mqtfi0nuc4qISa+/PbaDIBy7 s+7Za76iTswOmakRIxzCqpaYtLLCWIdymfLxAEUucm/cp0hV6ofAObT5MDmJYGTLXEiJ KmmiXaI4T3dDmUckPtEG0wCAVG1pLGwZuFdYBHMeAkNeh9dhOqcmHmvnKTSIVWLjvOsc rIyA5C1dbs3VBXmOpAeNh5K0gI2C/mmN1tgaUmVuipcVDom7qnWw+37HaR80Q79gLelE pgvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A57nOcDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s19si6543616ioj.101.2021.09.13.07.31.11; Mon, 13 Sep 2021 07:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A57nOcDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1346673AbhIMO3Z (ORCPT + 99 others); Mon, 13 Sep 2021 10:29:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:45380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346545AbhIMOYq (ORCPT ); Mon, 13 Sep 2021 10:24:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2E6461529; Mon, 13 Sep 2021 13:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631540914; bh=9ymwU4vLYalZSXSEX8SEiMq4+zWT1ftuULs5rsYQnP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A57nOcDSKS7i9qR5IFoblwrW+UBjhE0f4NXfoHU5XMTRs+BI+pdc2HTTVayN/3hQa rSf2v7oSABF0953j8L2mVVDWKLbyggMBEclHoI9dw80ahjTxkqeqOVN3HzXaUk4Lxt /JtUPJSWZVAKZmx8g37Nw2Nx8ZVc0qyPdKV1BgQ8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Vasut , Claudius Heine , Mark Brown , Sasha Levin Subject: [PATCH 5.14 086/334] ASoC: tlv320aic32x4: Fix TAS2505/TAS2521 channel count Date: Mon, 13 Sep 2021 15:12:20 +0200 Message-Id: <20210913131116.292595180@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131113.390368911@linuxfoundation.org> References: <20210913131113.390368911@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Vasut [ Upstream commit 3694f996be5cb8374bd224f4e5462c945d359843 ] The TAS2505/TAS2521 does support up to two channels, LEFT and RIGHT, which are being alternated on the audio data bus by Word Clock, WCLK. This is documented in TI slau472 2.7.1 Digital Audio Interface. Note that both the LEFT and RIGHT channels are only used for audio INPUT, while only the LEFT channel is used for audio OUTPUT. Fixes: b4525b6196cd7 ("ASoC: tlv320aic32x4: add support for TAS2505") Signed-off-by: Marek Vasut Cc: Claudius Heine Cc: Mark Brown Link: https://lore.kernel.org/r/20210708091229.56443-1-marex@denx.de Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/tlv320aic32x4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/tlv320aic32x4.c b/sound/soc/codecs/tlv320aic32x4.c index 2e9175b37dc9..254a016cb1f3 100644 --- a/sound/soc/codecs/tlv320aic32x4.c +++ b/sound/soc/codecs/tlv320aic32x4.c @@ -1131,7 +1131,7 @@ static struct snd_soc_dai_driver aic32x4_tas2505_dai = { .playback = { .stream_name = "Playback", .channels_min = 1, - .channels_max = 1, + .channels_max = 2, .rates = SNDRV_PCM_RATE_8000_96000, .formats = AIC32X4_FORMATS,}, .ops = &aic32x4_ops, -- 2.30.2