From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CDF0C3ABB2 for ; Mon, 16 Sep 2024 12:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tFf33Dr3Av9cjGRxcivDJ7jSpxWV5p1tiUMWvEOn8Fs=; b=OabN79YitMax9U8nZJYzvDXDxx EZWPZTb4j1Uq2rw/d35jlttbHKg/p7iDEoFPs1GK6E57GWpVHilRm0zBQb2wEdR0izw1/a7CgOFpv 0Xyezu8wQmXcvlFxZYKWJTbxWlhl3c+8C0YCBN7LMqse7BTh1Uym4lbo4TD3tkSwpeAccjhYYIMo4 edZKDse/Oj5UzGoxkT1VcvYZa+hOex3DP7pbrTtX+MfXkg4qEVIG6eChqaOPSBTtYrWTxi5PsdXJw PrrqPUzqXYGeOGjCE69Nfz21frtixXJ7Org6OGAnJxmZlknglDfV6u3mI9nWTMxtS8U4vQeqnCrui MY881O9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqAte-00000003zgG-2I7W; Mon, 16 Sep 2024 12:32:02 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqAsV-00000003zUP-3Fdj for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 12:30:54 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 649CCE0002; Mon, 16 Sep 2024 12:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1726489847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tFf33Dr3Av9cjGRxcivDJ7jSpxWV5p1tiUMWvEOn8Fs=; b=pzyO8VcD5eOWNbaF6y5cYWnDO6KCPDjbQFX46CYw8eVowhXH+FOzUJRqgXamOzGtfCk8o+ l9agNcz7sCkPqj9f/VpFUBciP8le0nMok+7c6gWmjxRoAVSTt5kS+pGT4DyJAm4nq1qzvU YPXxSOLi6bDJIb75NFS3QBdz7qsJ/4ghANlb+/daht7GxJIbeEL8eFZKQrqeJeXqlGRd1r acaUGZhe1/4tJf2C16Y3y06gDaX1e6g14hbOhuwFAOxW4BsuzFBRK6GeLMsulNNu15tItF f6DnNB9CfFndwYLdF8aeREWLYE9slv6onfb91NryaQQJpTZi2/SnDrgLwzEEBg== Date: Mon, 16 Sep 2024 14:30:45 +0200 From: Alexandre Belloni To: Andrei Simion Subject: Re: [PATCH 2/2] ASoC: atmel: atmel_ssc_dai: Drop S24_LE support due to single channel limitation Message-ID: <2024091612304529f5ebe1@mail.local> References: <20240916100006f2db7b06@mail.local> <20240916113203.17871-1-andrei.simion@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240916113203.17871-1-andrei.simion@microchip.com> X-GND-Sasl: alexandre.belloni@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_053052_608738_B2AD37A8 X-CRM114-Status: GOOD ( 23.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, claudiu.beznea@tuxon.dev, linux-sound@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, tiwai@suse.com, codrin.ciubotariu@microchip.com, perex@perex.cz, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/09/2024 14:32:05+0300, Andrei Simion wrote: > On 16.09.2024 12:59, Alexandre Belloni wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > On 16/09/2024 11:52:15+0300, Andrei Simion wrote: > >> From: Codrin Ciubotariu > >> > >> Drop S24_LE format because it is not supported if more than 2 channels > >> (of TDM slots) are used. This limitation makes it impractical for use cases > >> requiring more than 2 TDM slots, leading to potential issues in > >> multi-channel configurations. > >> > >> [andrei.simion@microchip.com: Reword the commit title and the commit > >> message.] > >> > >> Signed-off-by: Codrin Ciubotariu > >> Signed-off-by: Andrei Simion > >> --- > >> sound/soc/atmel/atmel_ssc_dai.c | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c > >> index 7047f17fe7a8..475e7579c64c 100644 > >> --- a/sound/soc/atmel/atmel_ssc_dai.c > >> +++ b/sound/soc/atmel/atmel_ssc_dai.c > >> @@ -822,7 +822,7 @@ static int atmel_ssc_resume(struct snd_soc_component *component) > >> } > >> > >> #define ATMEL_SSC_FORMATS (SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE |\ > >> - SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) > >> + SNDRV_PCM_FMTBIT_S32_LE) > > > > I believe this requires a comment. Else someone may add it back later > > on. > > > > It is unclear to me. Would it be good to send v2 with this update? > Yes, please send a new version. My point is that it is explained in the commit log. This is fine when you are adding something because then people will easily use git blame and find the commit and log. However, because you are removing code, it is not obvious there is a reason why it isn't there; > >> > >> static const struct snd_soc_dai_ops atmel_ssc_dai_ops = { > >> .startup = atmel_ssc_startup, > >> -- > >> 2.34.1 > >> > > > > -- > > Alexandre Belloni, co-owner and COO, Bootlin > > Embedded Linux and Kernel engineering > > https://bootlin.com > > Best regards, > Andrei Simion -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com