From patchwork Mon Sep 16 09:10:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13805212 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 32AC1C3ABB2 for ; Mon, 16 Sep 2024 09:18:43 +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=M1KRgbz5QA5MxUscC9ufbPT78B4rKUcbtpLzL8NCnTA=; b=Z1gjBxiXBLzx3N7uSDWKtY+0uE n07HbAw7yv/WxGPkbsjHFTH3oqRbYIS6cl6tpkc5o9IEHNS1fTEAyF4DWQi1nq+sbWmRArOjkiHaQ RJghcxrQE5Xigzhl/e1lisUOwt69pKVxEmj88/HC6pYRHhgZwgL2iC4D2h9uiimpTZQwc914U0SGv Jynr4bTp/OA4sbtIQcnCuk+XNY/EbXIa/R0MTl3Wz4ooIfb0gIbfYvh5nxl7UzSvChGxDZoK+ZzUF y6Lh73MzAwhqHiSWi6gyQgTlqGFfL3wFDdzadsxiHhUE7eIvAihhoxQJpoeDe/eTN2U1NPNgsd5X/ IClopp9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq7sO-00000003YeI-0UEc; Mon, 16 Sep 2024 09:18:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sq7lo-00000003XPx-1cX5 for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 09:11:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726477904; x=1758013904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=yUY2mwNXerJkwLgbRFEiCz35UZmfMk8zFAqn458H3Bo=; b=Gzjr1ACeimxXDM2oeXrfsSET/c0a9X/kYcuJ9UECRd3j1LU1sUZEb/qV A9vVxRI/GyvLmj/WdFjVxnLYYpUF/p92kOj/0mtb6Pi7QV4bf5Rs3CVwS i8XoaOgRvxt6YaG8uj/ZR+e5NeOR+ps1BY+EcccTAaQbLiOPhDaPtM57l Sr12dVFS2wr5nSCZImMPAUBmbCdPdb6gL7rHP6k7CqqUK84bEYMVRHUGH sEXCP6oVEJuQqS7auZz1oe5NS6bS/NnpVInkSakQET2W0e1OPrpqPj6I4 Hm42RCNCjz9LLYjMVMJ9wB8tS/asHj3yc3AV09pp7+ZVmoLYPR5ZLG0ug Q==; X-CSE-ConnectionGUID: zBJi05dESDObnv88EXzWcg== X-CSE-MsgGUID: X74qlIngRCeLSFQLyaNv/Q== X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="34997190" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 16 Sep 2024 02:11:40 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) 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 02:11:26 -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 02:11:23 -0700 From: Andrei Simion To: , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 1/2] ASoC: atmel: mchp-spdiftx: Remove interface name from stream_name Date: Mon, 16 Sep 2024 12:10:56 +0300 Message-ID: <20240916091056.11910-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240916091056.11910-1-andrei.simion@microchip.com> References: <20240916091056.11910-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_021144_465563_2D06931B X-CRM114-Status: GOOD ( 12.70 ) 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 Remove the interface name from the stream_name. The interface name (and the index of the interface) can be set in DT using the sound-name-prefix string property. [andrei.simion@microchip.com: Adjust the commit title.] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion --- sound/soc/atmel/mchp-spdiftx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/mchp-spdiftx.c b/sound/soc/atmel/mchp-spdiftx.c index 4c60ea652896..245c0352c141 100644 --- a/sound/soc/atmel/mchp-spdiftx.c +++ b/sound/soc/atmel/mchp-spdiftx.c @@ -707,7 +707,7 @@ static const struct snd_soc_dai_ops mchp_spdiftx_dai_ops = { static struct snd_soc_dai_driver mchp_spdiftx_dai = { .name = "mchp-spdiftx", .playback = { - .stream_name = "S/PDIF Playback", + .stream_name = "Playback", .channels_min = 1, .channels_max = 2, .rates = MCHP_SPDIFTX_RATES,