ALSA: oxygen: fix CONFIG_SND_OXYGEN_LIB dependency selection
authorClemens Ladisch <clemens@ladisch.de>
Thu, 9 Sep 2010 10:25:29 +0000 (12:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Sep 2010 08:53:40 +0000 (10:53 +0200)
As the select directive does not handle indirect dependencies, select
those explicitly in the driver sections.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/Kconfig

index b40f2b8..0e75d55 100644 (file)
@@ -207,12 +207,12 @@ config SND_CMIPCI
 
 config SND_OXYGEN_LIB
         tristate
 
 config SND_OXYGEN_LIB
         tristate
-       select SND_PCM
-       select SND_MPU401_UART
 
 config SND_OXYGEN
        tristate "C-Media 8788 (Oxygen)"
        select SND_OXYGEN_LIB
 
 config SND_OXYGEN
        tristate "C-Media 8788 (Oxygen)"
        select SND_OXYGEN_LIB
+       select SND_PCM
+       select SND_MPU401_UART
        help
          Say Y here to include support for sound cards based on the
          C-Media CMI8788 (Oxygen HD Audio) chip:
        help
          Say Y here to include support for sound cards based on the
          C-Media CMI8788 (Oxygen HD Audio) chip:
@@ -581,6 +581,8 @@ config SND_HDSPM
 config SND_HIFIER
        tristate "TempoTec HiFier Fantasia"
        select SND_OXYGEN_LIB
 config SND_HIFIER
        tristate "TempoTec HiFier Fantasia"
        select SND_OXYGEN_LIB
+       select SND_PCM
+       select SND_MPU401_UART
        help
          Say Y here to include support for the MediaTek/TempoTec HiFier
          Fantasia sound card.
        help
          Say Y here to include support for the MediaTek/TempoTec HiFier
          Fantasia sound card.
@@ -817,6 +819,8 @@ config SND_VIA82XX_MODEM
 config SND_VIRTUOSO
        tristate "Asus Virtuoso 100/200 (Xonar)"
        select SND_OXYGEN_LIB
 config SND_VIRTUOSO
        tristate "Asus Virtuoso 100/200 (Xonar)"
        select SND_OXYGEN_LIB
+       select SND_PCM
+       select SND_MPU401_UART
        select SND_JACK if INPUT=y || INPUT=SND
        help
          Say Y here to include support for sound cards based on the
        select SND_JACK if INPUT=y || INPUT=SND
        help
          Say Y here to include support for sound cards based on the