OSDN Git Service

ASoC: simple-card-utils: Increase maximum number of links to 128
authorThierry Reding <treding@nvidia.com>
Fri, 16 Apr 2021 07:11:47 +0000 (09:11 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 16 Apr 2021 15:54:48 +0000 (16:54 +0100)
commit343e55e71877415a23372388b3e0c59a9bba42f6
tree382d535a86ba49d445bb9e806b0c5344eab1f84c
parent0f687d826736a5b4eee03170382fe54d413b912a
ASoC: simple-card-utils: Increase maximum number of links to 128

On Tegra186 and later, the number of links can go up to 72, so bump the
maximum number of links to the next power of two (128).

Fixes: f2138aed231c ("ASoC: simple-card-utils: enable flexible CPU/Codec/Platform")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210416071147.2149109-2-thierry.reding@gmail.com
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/audio-graph-card.c
sound/soc/generic/simple-card.c