From patchwork Mon Sep 9 08:35:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13796460 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 7D7E9ECE585 for ; Mon, 9 Sep 2024 08:43:42 +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=mCRQslGI8g+JhyybFaRiQhoQoVlPwbP4JIPdw51/UPA=; b=0JMgR9TvZK6yg68IxAK5xtgtNj Va6El7PN8nfSg5VN84UpAPmHSp4uxNnI8TD1r/Ilq/WA/Cytsrihu+ljeZeovkPmfPRDl2cpKKkaf PcVbY2NBeoLp3+fUgRjJnWa56qYcl1KATk5tGz9s7UW/Q5tUIUBs5Z/0FG+RQi09fu1C2ZUAtqYmV a0x8urP8sKbci5lHER1vP9QgALvFBds9TRxWdoA2odDWAAd7+YUNZ3Aqw5qr38z/Y39sP0R5no2YD C5djbOYtv/KoILGiRpQUt5/qC5ajPBET00vR3NImnIgDvy/g4bH851lzmEZjAmOVV3nyb6PRSohTM KNuFhqLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snZzg-000000019W4-3DMN; Mon, 09 Sep 2024 08:43:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1snZsX-000000018FZ-0jrs for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 08:36:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1725870969; x=1757406969; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=n/pIzbx0MgOH7Vt1ursNZ7uh5AqRZVYjSubczslHHrQ=; b=F7n2WiMLl4+posaREv3FjRTO+SsFkaxfD9/iRORubecgXfdyK3T5EV0G o/luRr+UU24+ivGvDXyedf6EALaYuS6u++jgmKJzNqEPJdl9xcGZQWtgW v9/chhWi4kgTQWih78gPy77lye6kXGRZUhGMqgwINksg34Jcgztj+fFvz OFREm4x12MlWetENUXNwEr42B0HDSk0m/m/Kf8sCRojYg1tNkBBIVtgCR s8IpGzNOnI9a9XnuMFi51SKAcuXgFodmvNVRrBq0RXzYEOguaUJrMDhbd 2RsuygROfk4DuxlimxNR7YOG+1mh5SwkTjEsrAn1ph9CmM9QL/k2FMMhc w==; X-CSE-ConnectionGUID: 3+qBZ8ypT7qJuXQunlVkIA== X-CSE-MsgGUID: q5fUTtzfSs+p1sYbOgJ7MQ== X-IronPort-AV: E=Sophos;i="6.10,213,1719903600"; d="scan'208";a="198940348" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 09 Sep 2024 01:36:05 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 9 Sep 2024 01:35:45 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 9 Sep 2024 01:35:41 -0700 From: Andrei Simion To: , , , , , , , , , CC: , , , , Codrin Ciubotariu , Andrei Simion Subject: [PATCH 1/2] ASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name Date: Mon, 9 Sep 2024 11:35:29 +0300 Message-ID: <20240909083530.14695-2-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240909083530.14695-1-andrei.simion@microchip.com> References: <20240909083530.14695-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-20240909_013609_525692_20A1BE32 X-CRM114-Status: GOOD ( 12.66 ) 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: Adjust the commit title] Signed-off-by: Codrin Ciubotariu Signed-off-by: Andrei Simion --- sound/soc/atmel/mchp-i2s-mcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c index 35a56b266b8d..f40508668ac5 100644 --- a/sound/soc/atmel/mchp-i2s-mcc.c +++ b/sound/soc/atmel/mchp-i2s-mcc.c @@ -936,14 +936,14 @@ static const struct snd_soc_dai_ops mchp_i2s_mcc_dai_ops = { static struct snd_soc_dai_driver mchp_i2s_mcc_dai = { .playback = { - .stream_name = "I2SMCC-Playback", + .stream_name = "Playback", .channels_min = 1, .channels_max = 8, .rates = MCHP_I2SMCC_RATES, .formats = MCHP_I2SMCC_FORMATS, }, .capture = { - .stream_name = "I2SMCC-Capture", + .stream_name = "Capture", .channels_min = 1, .channels_max = 8, .rates = MCHP_I2SMCC_RATES,