]> 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)
commit2396c5884a2e8cd23961297e7f3c005b8098e524
treed6158f30c1551e4185eb965ca81dcce5d74da2f8
parent9e2d112603fa13cee4c8ee0ca80f2668c1133b58
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