提交 112cddca 编写于 作者: T Takashi Iwai

ALSA: firewire: Fix dependency on PCM and rawmidi

Now snd-firewire-lib supports rawmidi in addition to PCM, thus we need
to give a proper dependency.  For fixing and simplification, move the
selections of SND_PCM and SND_RAWMIDI into SND_FIREWIRE_LIB section.
Then each driver doesn't have to select them but only
SND_FIREWIRE_LIB.
Reported-by: NJim Davis <jim.epost@gmail.com>
Reviewed-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 66470c97
...@@ -9,12 +9,12 @@ if SND_FIREWIRE && FIREWIRE ...@@ -9,12 +9,12 @@ if SND_FIREWIRE && FIREWIRE
config SND_FIREWIRE_LIB config SND_FIREWIRE_LIB
tristate tristate
depends on SND_PCM select SND_PCM
select SND_RAWMIDI
config SND_DICE config SND_DICE
tristate "DICE-based DACs (EXPERIMENTAL)" tristate "DICE-based DACs (EXPERIMENTAL)"
select SND_HWDEP select SND_HWDEP
select SND_PCM
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
help help
Say Y here to include support for many DACs based on the DICE Say Y here to include support for many DACs based on the DICE
...@@ -28,7 +28,6 @@ config SND_DICE ...@@ -28,7 +28,6 @@ config SND_DICE
config SND_FIREWIRE_SPEAKERS config SND_FIREWIRE_SPEAKERS
tristate "FireWire speakers" tristate "FireWire speakers"
select SND_PCM
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
help help
Say Y here to include support for the Griffin FireWave Surround Say Y here to include support for the Griffin FireWave Surround
...@@ -39,7 +38,6 @@ config SND_FIREWIRE_SPEAKERS ...@@ -39,7 +38,6 @@ config SND_FIREWIRE_SPEAKERS
config SND_ISIGHT config SND_ISIGHT
tristate "Apple iSight microphone" tristate "Apple iSight microphone"
select SND_PCM
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
help help
Say Y here to include support for the front and rear microphones Say Y here to include support for the front and rear microphones
...@@ -50,8 +48,6 @@ config SND_ISIGHT ...@@ -50,8 +48,6 @@ config SND_ISIGHT
config SND_SCS1X config SND_SCS1X
tristate "Stanton Control System 1 MIDI" tristate "Stanton Control System 1 MIDI"
select SND_PCM
select SND_RAWMIDI
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
help help
Say Y here to include support for the MIDI ports of the Stanton Say Y here to include support for the MIDI ports of the Stanton
...@@ -64,8 +60,6 @@ config SND_SCS1X ...@@ -64,8 +60,6 @@ config SND_SCS1X
config SND_FIREWORKS config SND_FIREWORKS
tristate "Echo Fireworks board module support" tristate "Echo Fireworks board module support"
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
select SND_RAWMIDI
select SND_PCM
select SND_HWDEP select SND_HWDEP
help help
Say Y here to include support for FireWire devices based Say Y here to include support for FireWire devices based
...@@ -82,8 +76,6 @@ config SND_FIREWORKS ...@@ -82,8 +76,6 @@ config SND_FIREWORKS
config SND_BEBOB config SND_BEBOB
tristate "BridgeCo DM1000/DM1100/DM1500 with BeBoB firmware" tristate "BridgeCo DM1000/DM1100/DM1500 with BeBoB firmware"
select SND_FIREWIRE_LIB select SND_FIREWIRE_LIB
select SND_RAWMIDI
select SND_PCM
select SND_HWDEP select SND_HWDEP
help help
Say Y here to include support for FireWire devices based Say Y here to include support for FireWire devices based
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册