Skip to content

Commit 6db26f9

Browse files
jbrun3tbroonie
authored andcommitted
ASoC: meson: cards: select SND_DYNAMIC_MINORS
Amlogic sound cards do create a lot of pcm interfaces, possibly more than 8. Some pcm interfaces are internal (like DPCM backends and c2c) and not exposed to userspace. Those interfaces still increase the number passed to snd_find_free_minor(), which eventually exceeds 8 causing -EBUSY error on card registration if CONFIG_SND_DYNAMIC_MINORS=n and the interface is exposed to userspace. select CONFIG_SND_DYNAMIC_MINORS for Amlogic cards to avoid the problem. Fixes: 7864a79 ("ASoC: meson: add axg sound card support") Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent bda1650 commit 6db26f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/meson/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ config SND_MESON_AXG_PDM
9999

100100
config SND_MESON_CARD_UTILS
101101
tristate
102+
select SND_DYNAMIC_MINORS
102103

103104
config SND_MESON_CODEC_GLUE
104105
tristate

0 commit comments

Comments
 (0)