]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5654d913e8c1d06eec221957723e97e5032f8326
tree382d535a86ba49d445bb9e806b0c5344eab1f84c
parenta6dec8031c407eedf624690dff4885e19af43cdc
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: d207d3b42e0c ("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