linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sameer Pujar <spujar@nvidia.com>
To: <broonie@kernel.org>, <lgirdwood@gmail.com>, <robh+dt@kernel.org>,
	<thierry.reding@gmail.com>, <jonathanh@nvidia.com>,
	<catalin.marinas@arm.com>, <will@kernel.org>, <perex@perex.cz>,
	<tiwai@suse.com>, <kuninori.morimoto.gx@renesas.com>
Cc: <sharadg@nvidia.com>, <alsa-devel@alsa-project.org>,
	<devicetree@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Sameer Pujar <spujar@nvidia.com>
Subject: [PATCH v2 02/13] ASoC: simple-card-utils: Increase maximum DAI links limit to 512
Date: Mon, 13 Sep 2021 22:12:10 +0530	[thread overview]
Message-ID: <1631551342-25469-3-git-send-email-spujar@nvidia.com> (raw)
In-Reply-To: <1631551342-25469-1-git-send-email-spujar@nvidia.com>

The current limit of 128 is not sufficient when more components are
added to the audio map on Tegra210 and later platforms. Thus it is
resulting in probe failure.

The requirement is of nearly ~200 DAI links. To give sufficient room
for future additions the maximum limit is increased to 512 DAI links.
This is a preparatory patch to add more components like resampler,
mixer, multiplexers, demultiplexers and volume controllers to Tegra210
and later platforms.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 include/sound/simple_card_utils.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h
index 51b3b48..6b78034 100644
--- a/include/sound/simple_card_utils.h
+++ b/include/sound/simple_card_utils.h
@@ -115,7 +115,7 @@ struct asoc_simple_priv {
 		     ((codec) = simple_props_to_dai_codec(props, i));	\
 	     (i)++)
 
-#define SNDRV_MAX_LINKS 128
+#define SNDRV_MAX_LINKS 512
 
 struct link_info {
 	int link; /* number of link */
-- 
2.7.4


  parent reply	other threads:[~2021-09-13 16:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 16:42 [PATCH v2 00/13] Extend AHUB audio support for Tegra210 and later Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 01/13] ASoC: soc-pcm: Don't reconnect an already active BE Sameer Pujar
2021-09-13 16:42 ` Sameer Pujar [this message]
2021-09-13 16:42 ` [PATCH v2 03/13] ASoC: audio-graph: Fixup CPU endpoint hw_params in a BE<->BE link Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 04/13] ASoC: dt-bindings: tegra: Few more Tegra210 AHUB modules Sameer Pujar
2021-09-14 16:01   ` Rob Herring
2021-09-13 16:42 ` [PATCH v2 05/13] ASoC: tegra: Add routes for few " Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 06/13] ASoC: tegra: Add Tegra210 based MVC driver Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 07/13] ASoC: tegra: Add Tegra210 based SFC driver Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 08/13] ASoC: tegra: Add Tegra210 based AMX driver Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 09/13] ASoC: tegra: Add Tegra210 based ADX driver Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 10/13] ASoC: tegra: Add Tegra210 based Mixer driver Sameer Pujar
2021-09-13 16:42 ` [PATCH v2 11/13] arm64: defconfig: Enable few Tegra210 based AHUB drivers Sameer Pujar
2021-10-07 18:36   ` Thierry Reding
2021-09-13 16:42 ` [PATCH v2 12/13] arm64: tegra: Add few AHUB devices for Tegra210 and later Sameer Pujar
2021-10-07 18:37   ` Thierry Reding
2021-09-13 16:42 ` [PATCH v2 13/13] arm64: tegra: Extend APE audio support on Jetson platforms Sameer Pujar
2021-10-07 18:38   ` Thierry Reding
2021-09-20 15:30 ` (subset) [PATCH v2 00/13] Extend AHUB audio support for Tegra210 and later Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1631551342-25469-3-git-send-email-spujar@nvidia.com \
    --to=spujar@nvidia.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=sharadg@nvidia.com \
    --cc=thierry.reding@gmail.com \
    --cc=tiwai@suse.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).