From patchwork Mon Sep 16 09:10:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13805215 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 C814BC3ABB2 for ; Mon, 16 Sep 2024 09:19:50 +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=Gz3t4FsDfRbRni+o4+P3FgWLPdBe7AzoPEBetXtjuRI=; b=2FkxvAZQCEitmE9rwNiC0NG8zF ll9jzUKAFWGW5c7eEqsbcHdaOqx87zs7oT8xOJgdWVrJKZQpAOi6pGXWrCjFJeP4aA0M6uBVzp9t0 ZtZ2AU75CF+vgAdggK7ODGk2dyPhLlp3UdfdepGhTQc8NnsErF1i6rSO+uhTOMLdgsLIpJXuZ+7Kg bZfBaDRtMKGsHn7vQIuzsjhuU/ZVX8MJAdRA8vw6a7ud+omabXnxXt3mp6sO86yznvZcJPy5fsZ5F mXTdRgws06W2GdUnyY0ZSb9/Bs4CjKrjGIwBQ9MriFzrlvC89EcL1dtqo+9F1B2qdOvmCF8uSOUCL 5NxIeLfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq7tR-00000003YrK-1jQz; Mon, 16 Sep 2024 09:19:37 +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-00000003XQP-1pEY for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 09:11:46 +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=WzMOI6uVh9ZS7Z0+9PLGOHkUmsJPm9EqL/liuVJiUEo=; b=XoBgWK6sKudBcmXM2ItsjFYa0JXVbsVm98bu2DsK30VVZNlzC8LgtAkY PwpKBhGMju74FTJCaOp+Qs+9mrwrGVmGm4WAVL77HKx7e3G37aBqPJzQl No8Myzt2DBbAomVIdcwXlMpslJrhVM3rS6dSK7npJ9JohP0ykx6gG5jP1 xx5BUL6/3U109XSvfJkuk0AYALPwzI3nxK3AnIlqCWPJ17L/GZGpb5Yr7 DS7qk8Bk9fKhjKggQkfjKAHHJnCofCrrR5jsjukptnG0ObyeuPMvpBrr2 kScoxmlK0EEE1lUNHr/A2l95Bz7DWZZIlChc0dEgC7Ao0uaodW2h7UIcS A==; X-CSE-ConnectionGUID: zBJi05dESDObnv88EXzWcg== X-CSE-MsgGUID: rrPzMFViSc+h7i4e4hYxVA== X-IronPort-AV: E=Sophos;i="6.10,232,1719903600"; d="scan'208";a="34997192" 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:41 -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:29 -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:26 -0700 From: Andrei Simion To: , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 2/2] ASoC: atmel: mchp-spdifrx: Remove interface name from stream_name Date: Mon, 16 Sep 2024 12:10:57 +0300 Message-ID: <20240916091056.11910-3-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_507265_D190440C X-CRM114-Status: GOOD ( 12.81 ) 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-spdifrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/atmel/mchp-spdifrx.c b/sound/soc/atmel/mchp-spdifrx.c index b2507a1491b7..fb820609c043 100644 --- a/sound/soc/atmel/mchp-spdifrx.c +++ b/sound/soc/atmel/mchp-spdifrx.c @@ -1014,7 +1014,7 @@ static const struct snd_soc_dai_ops mchp_spdifrx_dai_ops = { static struct snd_soc_dai_driver mchp_spdifrx_dai = { .name = "mchp-spdifrx", .capture = { - .stream_name = "S/PDIF Capture", + .stream_name = "Capture", .channels_min = SPDIFRX_CHANNELS, .channels_max = SPDIFRX_CHANNELS, .rates = MCHP_SPDIF_RATES,