summaryrefslogtreecommitdiffstats
path: root/sound/pci/als300.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-15 08:46:39 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-24 16:41:46 +0200
commit7bb2491b35a254fe6fd592c32a142a2f2f31fe6e (patch)
treebe7933980d3449e54cad4395e3b53185324f29c3 /sound/pci/als300.c
parent8edbb198a62e2c3d0bea06ce50a4d45a009849b6 (diff)
downloadtalos-obmc-linux-7bb2491b35a254fe6fd592c32a142a2f2f31fe6e.tar.gz
talos-obmc-linux-7bb2491b35a254fe6fd592c32a142a2f2f31fe6e.zip
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/als300.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud