diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-05-15 08:46:39 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-24 16:41:46 +0200 |
commit | 7bb2491b35a254fe6fd592c32a142a2f2f31fe6e (patch) | |
tree | be7933980d3449e54cad4395e3b53185324f29c3 /sound/pci/nm256 | |
parent | 8edbb198a62e2c3d0bea06ce50a4d45a009849b6 (diff) | |
download | op-kernel-dev-7bb2491b35a254fe6fd592c32a142a2f2f31fe6e.zip op-kernel-dev-7bb2491b35a254fe6fd592c32a142a2f2f31fe6e.tar.gz |
ALSA: Add kconfig to specify the max card numbers
Currently ALSA supports up to 32 card instances when the dynamic minor
is used. While 32 cards are usually big enough for normal use cases,
there are sometimes weird requirements with more card support.
Actually, this limitation, 32, comes from the index option, where you
can pass the bit mask to assign the card. Other than that, we can
actually give more cards up to the minor number limits (currently 256,
which can be extended more, too).
This patch adds a new Kconfig to specify the max card numbers, and
changes a few places to accept more than 32 cards.
The only incompatibility with high card numbers would be the handling
of index option. The index option can be still used to pass the
bitmask for card assignments, but this works only up to 32 slots.
More than 32, no bitmask style option is available but only a single
slot can be specified via index option.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/nm256')
0 files changed, 0 insertions, 0 deletions