]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Drop hard dependency on CONFIG_SND_DYNAMIC_MINORS
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Jun 2013 10:10:24 +0000 (12:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Jun 2013 10:21:20 +0000 (12:21 +0200)
commit24d87392309b66dcccc9d13817ec0d4d7790ac0f
treed6158f30c1551e4185eb965ca81dcce5d74da2f8
parentf7a746022d388764addd3ad6faa43fdb41752691
ALSA: hda - Drop hard dependency on CONFIG_SND_DYNAMIC_MINORS

Currently HDMI codec driver sets the hard dependency (reverse
selection) on CONFIG_SND_DYNAMIC_MINORS because the recent codecs may
support more than two PCMs.  But, this doesn't mean that we need
always this option, since there can be a single PCM stream even with
the modern codecs.

This patch drops the hard dependency again but give more sensible
error message when no enough PCMs are available due to the lack of
this option.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/Kconfig
sound/pci/hda/hda_codec.c