From patchwork Mon Sep 16 08:52:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13805170 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 3E389C3ABA2 for ; Mon, 16 Sep 2024 08:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bw6EHjyxP36hLkg3SD4hSkQvRQKNnMEspxJJBfETGgg=; b=lqQnspS2fqs9dTB1CJq8Xav889 Mh699p8CqStfti1A3wWeI3jPc5uBoq2Oo89sWru1fOdmbSYoQ6Gp2Vm1eDc9UFwyLXt513cb8JHmM lOxHOUBRASjEWglY5jQCj9PREp297e9YSE/SeHn6Pjvt5hWNT7dU7s9lH5HZdfS6CJ8tcsLOUuhdI AkOi0XkMloJIdK72BQeNebghD/qdX+j52mmg1tKIsA3uBNuJ+uAxYbZ52z7lZ/SHo4Nj8n1gis1PG w0ghEcltCA30we3MUBBGpofXEJL54GBomOc/bQiE+BTSUDR5nbfV+hgN3sX3gZ0hWGGb61QRR/CZD BCx3hWhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq7XP-00000003UpV-3mi1; Mon, 16 Sep 2024 08:56:51 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sq7UF-00000003UMs-2Ote for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 08:53:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726476815; x=1758012815; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wLNyCCa3uGukd/YUJXnpdJORp6fFs7Bh0HkU+aXmQck=; b=qEVcyjhVT54ILqlDYVNBzMolVtfEGJvvMWISPeFHn/jFTkWjxPGRFfal 6TRfmE3I/JmxaosJSxslJEzXUXB8iWYsaxEd5P8mRp1NUb+3HEY49o3tB EzjtmuFdYeuW4+HppHlkeaLngPQCDtdjq7YTcQdqw7v0yE/A3TWH1UQr5 7geqjfDacX8bXd8eupQatcskRUcuuDHtHG5zacVco7L22ObdCbYGW5qtu hFJGbR9XBZ+GiW9ebJ/UK5zVuAZMwIiCvtGqjl58F0nh31igw9LMpPUVU /QIFAk90jQUqNLGO4Vm+WP+lAQ3+k3DcU17pmTWjlfESqwRJVQnwFrK7O w==; X-CSE-ConnectionGUID: PamDwLmaS1u4auhQg+WCVA== X-CSE-MsgGUID: PUDmAxjDRdG9WOIsrMHnQA== X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="32443041" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 16 Sep 2024 01:53:33 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 16 Sep 2024 01:53:15 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 16 Sep 2024 01:53:12 -0700 From: Andrei Simion To: , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 2/2] ASoC: atmel: atmel_ssc_dai: Drop S24_LE support due to single channel limitation Date: Mon, 16 Sep 2024 11:52:15 +0300 Message-ID: <20240916085214.11083-3-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240916085214.11083-1-andrei.simion@microchip.com> References: <20240916085214.11083-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_015335_705027_48267B5F X-CRM114-Status: GOOD ( 12.06 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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) static const struct snd_soc_dai_ops atmel_ssc_dai_ops = { .startup = atmel_ssc_startup,