From nobody Tue Nov 26 12:28:52 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BD051EE001; Thu, 17 Oct 2024 21:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729199397; cv=none; b=lry3lonwoFZNzrH67p10O6fGNuuXRTgDFQFn3utf5fCWUkF3t1FW4SgqA8xT3NiHVUENIlE2pmLVjn1//EgOuNNYbz8lcOQsYIBCj9eBfvhuJc7fSL2hiHNshls3D81YLN0z1irgfVqgSs7cj9hR9zq5nX+Rr2WGr3OavK0hxQU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729199397; c=relaxed/simple; bh=kkDTGrX6WVVZwK3s/tfrfQeTpzjMt03jbMO0iD4gyOU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T2H9ZEd7pL9n1pFbuko4rqlrjka4QweV+kEchXOMiRNuipD4I7+NqS1BGmnx1/yB61gtp84bx5u9Oh3KymnOcZ7tJ5p+RSeO4ysfZiGQKkgWaYi0iwvfj/vwBxDG+wWR3MsFdAMhN/0w1hv8q03T9PnBvUtbU3HFsc1znfr09GI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tt1JEjbW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tt1JEjbW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2174DC4CECE; Thu, 17 Oct 2024 21:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729199396; bh=kkDTGrX6WVVZwK3s/tfrfQeTpzjMt03jbMO0iD4gyOU=; h=From:To:Cc:Subject:Date:From; b=tt1JEjbW2IEbIAufSsedoyauLQlwGD4gOV0veRdZvzSbbvsu2yy3pGKZGKSeL/NPD LASCYpS+lNdMaqHV6F57OsMrRt/wfygYMrLnSSl6yp5d/c2NMHUkDqLPXDZ+lpM9ZU NxvJBdqvyP9wcojmel93jROeJiterHMxwq+dj7LpYrXTbs/yMs89tBTPVBBmaD/jk6 QtxGXvjU53VfViXXZ2f7Mdyi08qNWBprN2YMWn8gdrC3nF4u0yH77F9Jen1Ai7XL/U V3UCIzgtTxXMJtlumfYFvaBCRcHwkBsYTkzikVISB6oyM34rcQh6OCCh6tzcoVqslc B1lZ5Mawi2faw== From: Mario Limonciello To: Mark Brown , Jaroslav Kysela , Takashi Iwai , Vijendar Mukunda Cc: linux-sound@vger.kernel.org (open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-kernel@vger.kernel.org (open list), Mario Limonciello Subject: [PATCH] ASoC: amd: acp: Add stream name to ACP PDM DMIC devices Date: Thu, 17 Oct 2024 16:09:52 -0500 Message-ID: <20241017210952.3586713-1-superm1@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Mario Limonciello Add for sof and legacy dai links to dummy DMIC codec. Signed-off-by: Mario Limonciello --- sound/soc/amd/acp/acp-mach-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/amd/acp/acp-mach-common.c b/sound/soc/amd/acp/acp-ma= ch-common.c index e9ff4815c12c8..893ab814cbbdf 100644 --- a/sound/soc/amd/acp/acp-mach-common.c +++ b/sound/soc/amd/acp/acp-mach-common.c @@ -1567,6 +1567,7 @@ int acp_sofdsp_dai_links_create(struct snd_soc_card *= card) =20 if (drv_data->dmic_cpu_id =3D=3D DMIC) { links[i].name =3D "acp-dmic-codec"; + links[i].stream_name =3D "DMIC capture"; links[i].id =3D DMIC_BE_ID; links[i].codecs =3D dmic_codec; links[i].num_codecs =3D ARRAY_SIZE(dmic_codec); @@ -1749,6 +1750,7 @@ int acp_legacy_dai_links_create(struct snd_soc_card *= card) =20 if (drv_data->dmic_cpu_id =3D=3D DMIC) { links[i].name =3D "acp-dmic-codec"; + links[i].stream_name =3D "DMIC capture"; links[i].id =3D DMIC_BE_ID; if (drv_data->dmic_codec_id =3D=3D DMIC) { links[i].codecs =3D dmic_codec; --=20 2.43.0