[ALSA] sound: Change final two instances of kcalloc(1,...) to kzalloc()
[pandora-kernel.git] / sound / pci / Kconfig
index 23e54ce..1bcfb3a 100644 (file)
@@ -16,16 +16,16 @@ config SND_AD1889
          will be called snd-ad1889.
 
 config SND_ALS300
-        tristate "Avance Logic ALS300/ALS300+"
-        depends on SND
-        select SND_PCM
-        select SND_AC97_CODEC
-        select SND_OPL3_LIB
-        help
-          Say 'Y' or 'M' to include support for Avance Logic ALS300/ALS300+
+       tristate "Avance Logic ALS300/ALS300+"
+       depends on SND
+       select SND_PCM
+       select SND_AC97_CODEC
+       select SND_OPL3_LIB
+       help
+         Say 'Y' or 'M' to include support for Avance Logic ALS300/ALS300+
 
-          To compile this driver as a module, choose M here: the module
-          will be called snd-als300
+         To compile this driver as a module, choose M here: the module
+         will be called snd-als300
 
 config SND_ALS4000
        tristate "Avance Logic ALS4000"
@@ -78,49 +78,49 @@ config SND_ATIIXP_MODEM
          will be called snd-atiixp-modem.
 
 config SND_AU8810
-        tristate "Aureal Advantage"
-        depends on SND
+       tristate "Aureal Advantage"
+       depends on SND
        select SND_MPU401_UART
        select SND_AC97_CODEC
-        help
+       help
          Say Y here to include support for Aureal Advantage soundcards.
 
          Supported features: Hardware Mixer, SRC, EQ and SPDIF output.
-          3D support code is in place, but not yet useable. For more info, 
-          email the ALSA developer list, or <mjander@users.sourceforge.net>.
+         3D support code is in place, but not yet useable. For more info,
+         email the ALSA developer list, or <mjander@users.sourceforge.net>.
 
          To compile this driver as a module, choose M here: the module
          will be called snd-au8810.
+
 config SND_AU8820
-        tristate "Aureal Vortex"
-        depends on SND
+       tristate "Aureal Vortex"
+       depends on SND
        select SND_MPU401_UART
        select SND_AC97_CODEC
-        help
+       help
          Say Y here to include support for Aureal Vortex soundcards.
 
-          Supported features: Hardware Mixer and SRC. For more info, email 
-          the ALSA developer list, or <mjander@users.sourceforge.net>.
+         Supported features: Hardware Mixer and SRC. For more info, email
+         the ALSA developer list, or <mjander@users.sourceforge.net>.
 
          To compile this driver as a module, choose M here: the module
          will be called snd-au8820.
+
 config SND_AU8830
-        tristate "Aureal Vortex 2"
-        depends on SND
+       tristate "Aureal Vortex 2"
+       depends on SND
        select SND_MPU401_UART
        select SND_AC97_CODEC
-        help
+       help
          Say Y here to include support for Aureal Vortex 2 soundcards.
 
-          Supported features: Hardware Mixer, SRC, EQ and SPDIF output.
-          3D support code is in place, but not yet useable. For more info, 
-          email the ALSA developer list, or <mjander@users.sourceforge.net>.
+         Supported features: Hardware Mixer, SRC, EQ and SPDIF output.
+         3D support code is in place, but not yet useable. For more info,
+         email the ALSA developer list, or <mjander@users.sourceforge.net>.
 
          To compile this driver as a module, choose M here: the module
          will be called snd-au8830.
+
 config SND_AZT3328
        tristate "Aztech AZF3328 / PCI168 (EXPERIMENTAL)"
        depends on SND && EXPERIMENTAL
@@ -135,10 +135,10 @@ config SND_AZT3328
          will be called snd-azt3328.
 
 config SND_BT87X
-        tristate "Bt87x Audio Capture"
-        depends on SND
+       tristate "Bt87x Audio Capture"
+       depends on SND
        select SND_PCM
-        help
+       help
          If you want to record audio from TV cards based on
          Brooktree Bt878/Bt879 chips, say Y here and read
          <file:Documentation/sound/alsa/Bt87x.txt>.
@@ -209,7 +209,7 @@ config SND_CS46XX
 config SND_CS46XX_NEW_DSP
        bool "Cirrus Logic (Sound Fusion) New DSP support"
        depends on SND_CS46XX
-        default y
+       default y
        help
          Say Y here to use a new DSP image for SPDIF and dual codecs.
 
@@ -225,7 +225,7 @@ config SND_CS5535AUDIO
          referred to as NS CS5535 IO or AMD CS5535 IO companion in
          various literature. This driver also supports the CS5536 audio
          device. However, for both chips, on certain boards, you may
-         need to use ac97_quirk=hp_only if your board has physically 
+         need to use ac97_quirk=hp_only if your board has physically
          mapped headphone out to master output. If that works for you,
          send lspci -vvv output to the mailing list so that your board
          can be identified in the quirks list.
@@ -236,7 +236,7 @@ config SND_CS5535AUDIO
 config SND_DARLA20
        tristate "(Echoaudio) Darla20"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Darla.
@@ -247,7 +247,7 @@ config SND_DARLA20
 config SND_GINA20
        tristate "(Echoaudio) Gina20"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Gina.
@@ -258,7 +258,7 @@ config SND_GINA20
 config SND_LAYLA20
        tristate "(Echoaudio) Layla20"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -270,7 +270,7 @@ config SND_LAYLA20
 config SND_DARLA24
        tristate "(Echoaudio) Darla24"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Darla24.
@@ -281,7 +281,7 @@ config SND_DARLA24
 config SND_GINA24
        tristate "(Echoaudio) Gina24"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Gina24.
@@ -292,7 +292,7 @@ config SND_GINA24
 config SND_LAYLA24
        tristate "(Echoaudio) Layla24"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -304,7 +304,7 @@ config SND_LAYLA24
 config SND_MONA
        tristate "(Echoaudio) Mona"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -316,7 +316,7 @@ config SND_MONA
 config SND_MIA
        tristate "(Echoaudio) Mia"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -328,7 +328,7 @@ config SND_MIA
 config SND_ECHO3G
        tristate "(Echoaudio) 3G cards"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_RAWMIDI
        select SND_PCM
        help
@@ -340,7 +340,7 @@ config SND_ECHO3G
 config SND_INDIGO
        tristate "(Echoaudio) Indigo"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Indigo.
@@ -351,7 +351,7 @@ config SND_INDIGO
 config SND_INDIGOIO
        tristate "(Echoaudio) Indigo IO"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Indigo IO.
@@ -362,7 +362,7 @@ config SND_INDIGOIO
 config SND_INDIGODJ
        tristate "(Echoaudio) Indigo DJ"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_PCM
        help
          Say 'Y' or 'M' to include support for Echoaudio Indigo DJ.
@@ -373,6 +373,7 @@ config SND_INDIGODJ
 config SND_EMU10K1
        tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)"
        depends on SND
+       select FW_LOADER
        select SND_HWDEP
        select SND_RAWMIDI
        select SND_AC97_CODEC
@@ -460,17 +461,22 @@ config SND_FM801
          To compile this driver as a module, choose M here: the module
          will be called snd-fm801.
 
-config SND_FM801_TEA575X
-       tristate "ForteMedia FM801 + TEA5757 tuner"
+config SND_FM801_TEA575X_BOOL
+       bool "ForteMedia FM801 + TEA5757 tuner"
        depends on SND_FM801
-        select VIDEO_DEV
        help
          Say Y here to include support for soundcards based on the ForteMedia
          FM801 chip with a TEA5757 tuner connected to GPIO1-3 pins (Media
-         Forte SF256-PCS-02).
+         Forte SF256-PCS-02) into the snd-fm801 driver.
 
-         To compile this driver as a module, choose M here: the module
-         will be called snd-fm801-tea575x.
+         This will enable support for the old V4L1 API.
+
+config SND_FM801_TEA575X
+       tristate
+       depends on SND_FM801_TEA575X_BOOL
+       default SND_FM801
+       select VIDEO_V4L1
+       select VIDEO_DEV
 
 config SND_HDA_INTEL
        tristate "Intel HD Audio"
@@ -570,6 +576,7 @@ config SND_INTEL8X0M
 config SND_KORG1212
        tristate "Korg 1212 IO"
        depends on SND
+       select FW_LOADER
        select SND_PCM
        help
          Say Y here to include support for Korg 1212IO soundcards.
@@ -580,6 +587,7 @@ config SND_KORG1212
 config SND_MAESTRO3
        tristate "ESS Allegro/Maestro3"
        depends on SND
+       select FW_LOADER
        select SND_AC97_CODEC
        help
          Say Y here to include support for soundcards based on ESS Maestro 3
@@ -624,7 +632,7 @@ config SND_PCXHR
 config SND_RIPTIDE
        tristate "Conexant Riptide"
        depends on SND
-       depends on FW_LOADER
+       select FW_LOADER
        select SND_OPL3_LIB
        select SND_MPU401_UART
        select SND_AC97_CODEC
@@ -729,6 +737,7 @@ config SND_VX222
 config SND_YMFPCI
        tristate "Yamaha YMF724/740/744/754"
        depends on SND
+       select FW_LOADER
        select SND_OPL3_LIB
        select SND_MPU401_UART
        select SND_AC97_CODEC
@@ -739,4 +748,17 @@ config SND_YMFPCI
          To compile this driver as a module, choose M here: the module
          will be called snd-ymfpci.
 
+config SND_AC97_POWER_SAVE
+       bool "AC97 Power-Saving Mode"
+       depends on SND_AC97_CODEC && EXPERIMENTAL
+       default n
+       help
+         Say Y here to enable the aggressive power-saving support of
+         AC97 codecs.  In this mode, the power-mode is dynamically
+         controlled at each open/close.
+
+         The mode is activated by passing power_save=1 option to
+         snd-ac97-codec driver.  You can toggle it dynamically over
+         sysfs, too.
+
 endmenu