diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/Kconfig | 1 | ||||
-rw-r--r-- | sound/oss/Kconfig | 12 | ||||
-rw-r--r-- | sound/oss/ac97_codec.c | 1 | ||||
-rw-r--r-- | sound/pci/intel8x0.c | 6 | ||||
-rw-r--r-- | sound/pci/via82xx.c | 2 | ||||
-rw-r--r-- | sound/ppc/pmac.c | 30 | ||||
-rw-r--r-- | sound/usb/usbaudio.c | 2 | ||||
-rw-r--r-- | sound/usb/usx2y/usbusx2y.c | 11 |
8 files changed, 39 insertions, 26 deletions
diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig index 4a6be966bd9f..3a3228b18726 100644 --- a/sound/isa/Kconfig +++ b/sound/isa/Kconfig | |||
@@ -164,6 +164,7 @@ config SND_INTERWAVE | |||
164 | select SND_RAWMIDI | 164 | select SND_RAWMIDI |
165 | select SND_CS4231_LIB | 165 | select SND_CS4231_LIB |
166 | select SND_GUS_SYNTH | 166 | select SND_GUS_SYNTH |
167 | select ISAPNP | ||
167 | help | 168 | help |
168 | Say Y here to include support for AMD InterWave based | 169 | Say Y here to include support for AMD InterWave based |
169 | soundcards (Gravis UltraSound Plug & Play, STB SoundRage32, | 170 | soundcards (Gravis UltraSound Plug & Play, STB SoundRage32, |
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig index a9602f89d6b1..e537bd66a707 100644 --- a/sound/oss/Kconfig +++ b/sound/oss/Kconfig | |||
@@ -112,7 +112,7 @@ config SOUND_BCM_CS4297A | |||
112 | 112 | ||
113 | config SOUND_ES1370 | 113 | config SOUND_ES1370 |
114 | tristate "Ensoniq AudioPCI (ES1370)" | 114 | tristate "Ensoniq AudioPCI (ES1370)" |
115 | depends on SOUND_PRIME!=n && SOUND && PCI && SOUND_GAMEPORT | 115 | depends on SOUND_PRIME!=n && SOUND && PCI |
116 | help | 116 | help |
117 | Say Y or M if you have a PCI sound card utilizing the Ensoniq | 117 | Say Y or M if you have a PCI sound card utilizing the Ensoniq |
118 | ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find | 118 | ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find |
@@ -125,7 +125,7 @@ config SOUND_ES1370 | |||
125 | 125 | ||
126 | config SOUND_ES1371 | 126 | config SOUND_ES1371 |
127 | tristate "Creative Ensoniq AudioPCI 97 (ES1371)" | 127 | tristate "Creative Ensoniq AudioPCI 97 (ES1371)" |
128 | depends on SOUND_PRIME!=n && SOUND && PCI && SOUND_GAMEPORT | 128 | depends on SOUND_PRIME!=n && SOUND && PCI |
129 | help | 129 | help |
130 | Say Y or M if you have a PCI sound card utilizing the Ensoniq | 130 | Say Y or M if you have a PCI sound card utilizing the Ensoniq |
131 | ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if | 131 | ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if |
@@ -138,7 +138,7 @@ config SOUND_ES1371 | |||
138 | 138 | ||
139 | config SOUND_ESSSOLO1 | 139 | config SOUND_ESSSOLO1 |
140 | tristate "ESS Technology Solo1" | 140 | tristate "ESS Technology Solo1" |
141 | depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT && PCI | 141 | depends on SOUND_PRIME!=n && SOUND && PCI |
142 | help | 142 | help |
143 | Say Y or M if you have a PCI sound card utilizing the ESS Technology | 143 | Say Y or M if you have a PCI sound card utilizing the ESS Technology |
144 | Solo1 chip. To find out if your sound card uses a | 144 | Solo1 chip. To find out if your sound card uses a |
@@ -179,7 +179,7 @@ config SOUND_HARMONY | |||
179 | 179 | ||
180 | config SOUND_SONICVIBES | 180 | config SOUND_SONICVIBES |
181 | tristate "S3 SonicVibes" | 181 | tristate "S3 SonicVibes" |
182 | depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT | 182 | depends on SOUND_PRIME!=n && SOUND |
183 | help | 183 | help |
184 | Say Y or M if you have a PCI sound card utilizing the S3 | 184 | Say Y or M if you have a PCI sound card utilizing the S3 |
185 | SonicVibes chipset. To find out if your sound card uses a | 185 | SonicVibes chipset. To find out if your sound card uses a |
@@ -226,7 +226,7 @@ config SOUND_AU1550_AC97 | |||
226 | 226 | ||
227 | config SOUND_TRIDENT | 227 | config SOUND_TRIDENT |
228 | tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core" | 228 | tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core" |
229 | depends on SOUND_PRIME!=n && SOUND && SOUND_GAMEPORT | 229 | depends on SOUND_PRIME!=n && SOUND |
230 | ---help--- | 230 | ---help--- |
231 | Say Y or M if you have a PCI sound card utilizing the Trident | 231 | Say Y or M if you have a PCI sound card utilizing the Trident |
232 | 4DWave-DX/NX chipset or your mother board chipset has SiS 7018 | 232 | 4DWave-DX/NX chipset or your mother board chipset has SiS 7018 |
@@ -739,7 +739,7 @@ config SOUND_NM256 | |||
739 | 739 | ||
740 | config SOUND_MAD16 | 740 | config SOUND_MAD16 |
741 | tristate "OPTi MAD16 and/or Mozart based cards" | 741 | tristate "OPTi MAD16 and/or Mozart based cards" |
742 | depends on SOUND_OSS && SOUND_GAMEPORT | 742 | depends on SOUND_OSS |
743 | ---help--- | 743 | ---help--- |
744 | Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi | 744 | Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi |
745 | 82C928 or 82C929 or 82C931) audio interface chip. These chips are | 745 | 82C928 or 82C929 or 82C931) audio interface chip. These chips are |
diff --git a/sound/oss/ac97_codec.c b/sound/oss/ac97_codec.c index 124b1e10a13d..3ecef4689f1b 100644 --- a/sound/oss/ac97_codec.c +++ b/sound/oss/ac97_codec.c | |||
@@ -155,6 +155,7 @@ static const struct { | |||
155 | {0x43525931, "Cirrus Logic CS4299 rev A", &crystal_digital_ops}, | 155 | {0x43525931, "Cirrus Logic CS4299 rev A", &crystal_digital_ops}, |
156 | {0x43525933, "Cirrus Logic CS4299 rev C", &crystal_digital_ops}, | 156 | {0x43525933, "Cirrus Logic CS4299 rev C", &crystal_digital_ops}, |
157 | {0x43525934, "Cirrus Logic CS4299 rev D", &crystal_digital_ops}, | 157 | {0x43525934, "Cirrus Logic CS4299 rev D", &crystal_digital_ops}, |
158 | {0x43585430, "CXT48", &default_ops, AC97_DELUDED_MODEM }, | ||
158 | {0x43585442, "CXT66", &default_ops, AC97_DELUDED_MODEM }, | 159 | {0x43585442, "CXT66", &default_ops, AC97_DELUDED_MODEM }, |
159 | {0x44543031, "Diamond Technology DT0893", &default_ops}, | 160 | {0x44543031, "Diamond Technology DT0893", &default_ops}, |
160 | {0x45838308, "ESS Allegro ES1988", &null_ops}, | 161 | {0x45838308, "ESS Allegro ES1988", &null_ops}, |
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index d143d2c78988..8b33b12fa5dc 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -125,8 +125,8 @@ MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 c | |||
125 | #ifndef PCI_DEVICE_ID_INTEL_ICH7_20 | 125 | #ifndef PCI_DEVICE_ID_INTEL_ICH7_20 |
126 | #define PCI_DEVICE_ID_INTEL_ICH7_20 0x27de | 126 | #define PCI_DEVICE_ID_INTEL_ICH7_20 0x27de |
127 | #endif | 127 | #endif |
128 | #ifndef PCI_DEVICE_ID_INTEL_ESB2_13 | 128 | #ifndef PCI_DEVICE_ID_INTEL_ESB2_14 |
129 | #define PCI_DEVICE_ID_INTEL_ESB2_13 0x2698 | 129 | #define PCI_DEVICE_ID_INTEL_ESB2_14 0x2698 |
130 | #endif | 130 | #endif |
131 | #ifndef PCI_DEVICE_ID_SI_7012 | 131 | #ifndef PCI_DEVICE_ID_SI_7012 |
132 | #define PCI_DEVICE_ID_SI_7012 0x7012 | 132 | #define PCI_DEVICE_ID_SI_7012 0x7012 |
@@ -2741,7 +2741,7 @@ static struct shortname_table { | |||
2741 | { PCI_DEVICE_ID_INTEL_ESB_5, "Intel 6300ESB" }, | 2741 | { PCI_DEVICE_ID_INTEL_ESB_5, "Intel 6300ESB" }, |
2742 | { PCI_DEVICE_ID_INTEL_ICH6_18, "Intel ICH6" }, | 2742 | { PCI_DEVICE_ID_INTEL_ICH6_18, "Intel ICH6" }, |
2743 | { PCI_DEVICE_ID_INTEL_ICH7_20, "Intel ICH7" }, | 2743 | { PCI_DEVICE_ID_INTEL_ICH7_20, "Intel ICH7" }, |
2744 | { PCI_DEVICE_ID_INTEL_ESB2_13, "Intel ESB2" }, | 2744 | { PCI_DEVICE_ID_INTEL_ESB2_14, "Intel ESB2" }, |
2745 | { PCI_DEVICE_ID_SI_7012, "SiS SI7012" }, | 2745 | { PCI_DEVICE_ID_SI_7012, "SiS SI7012" }, |
2746 | { PCI_DEVICE_ID_NVIDIA_MCP_AUDIO, "NVidia nForce" }, | 2746 | { PCI_DEVICE_ID_NVIDIA_MCP_AUDIO, "NVidia nForce" }, |
2747 | { PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO, "NVidia nForce2" }, | 2747 | { PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO, "NVidia nForce2" }, |
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index f1ce808501da..9b4d74d49f98 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c | |||
@@ -1836,7 +1836,7 @@ static void __devinit snd_via82xx_proc_init(via82xx_t *chip) | |||
1836 | * | 1836 | * |
1837 | */ | 1837 | */ |
1838 | 1838 | ||
1839 | static int __devinit snd_via82xx_chip_init(via82xx_t *chip) | 1839 | static int snd_via82xx_chip_init(via82xx_t *chip) |
1840 | { | 1840 | { |
1841 | unsigned int val; | 1841 | unsigned int val; |
1842 | int max_count; | 1842 | int max_count; |
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 32d94754acf8..080ef3928465 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -876,7 +876,7 @@ static void __init detect_byte_swap(pmac_t *chip) | |||
876 | */ | 876 | */ |
877 | static int __init snd_pmac_detect(pmac_t *chip) | 877 | static int __init snd_pmac_detect(pmac_t *chip) |
878 | { | 878 | { |
879 | struct device_node *sound; | 879 | struct device_node *sound = NULL; |
880 | unsigned int *prop, l; | 880 | unsigned int *prop, l; |
881 | struct macio_chip* macio; | 881 | struct macio_chip* macio; |
882 | 882 | ||
@@ -906,20 +906,22 @@ static int __init snd_pmac_detect(pmac_t *chip) | |||
906 | chip->is_pbook_G3 = 1; | 906 | chip->is_pbook_G3 = 1; |
907 | chip->node = find_devices("awacs"); | 907 | chip->node = find_devices("awacs"); |
908 | if (chip->node) | 908 | if (chip->node) |
909 | return 0; /* ok */ | 909 | sound = chip->node; |
910 | 910 | ||
911 | /* | 911 | /* |
912 | * powermac G3 models have a node called "davbus" | 912 | * powermac G3 models have a node called "davbus" |
913 | * with a child called "sound". | 913 | * with a child called "sound". |
914 | */ | 914 | */ |
915 | chip->node = find_devices("davbus"); | 915 | if (!chip->node) |
916 | chip->node = find_devices("davbus"); | ||
916 | /* | 917 | /* |
917 | * if we didn't find a davbus device, try 'i2s-a' since | 918 | * if we didn't find a davbus device, try 'i2s-a' since |
918 | * this seems to be what iBooks have | 919 | * this seems to be what iBooks have |
919 | */ | 920 | */ |
920 | if (! chip->node) { | 921 | if (! chip->node) { |
921 | chip->node = find_devices("i2s-a"); | 922 | chip->node = find_devices("i2s-a"); |
922 | if (chip->node && chip->node->parent && chip->node->parent->parent) { | 923 | if (chip->node && chip->node->parent && |
924 | chip->node->parent->parent) { | ||
923 | if (device_is_compatible(chip->node->parent->parent, | 925 | if (device_is_compatible(chip->node->parent->parent, |
924 | "K2-Keylargo")) | 926 | "K2-Keylargo")) |
925 | chip->is_k2 = 1; | 927 | chip->is_k2 = 1; |
@@ -928,9 +930,11 @@ static int __init snd_pmac_detect(pmac_t *chip) | |||
928 | if (! chip->node) | 930 | if (! chip->node) |
929 | return -ENODEV; | 931 | return -ENODEV; |
930 | 932 | ||
931 | sound = find_devices("sound"); | 933 | if (!sound) { |
932 | while (sound && sound->parent != chip->node) | 934 | sound = find_devices("sound"); |
933 | sound = sound->next; | 935 | while (sound && sound->parent != chip->node) |
936 | sound = sound->next; | ||
937 | } | ||
934 | if (! sound) | 938 | if (! sound) |
935 | return -ENODEV; | 939 | return -ENODEV; |
936 | prop = (unsigned int *) get_property(sound, "sub-frame", NULL); | 940 | prop = (unsigned int *) get_property(sound, "sub-frame", NULL); |
@@ -1019,7 +1023,8 @@ static int __init snd_pmac_detect(pmac_t *chip) | |||
1019 | } | 1023 | } |
1020 | } | 1024 | } |
1021 | if (chip->pdev == NULL) | 1025 | if (chip->pdev == NULL) |
1022 | printk(KERN_WARNING "snd-powermac: can't locate macio PCI device !\n"); | 1026 | printk(KERN_WARNING "snd-powermac: can't locate macio PCI" |
1027 | " device !\n"); | ||
1023 | 1028 | ||
1024 | detect_byte_swap(chip); | 1029 | detect_byte_swap(chip); |
1025 | 1030 | ||
@@ -1027,7 +1032,8 @@ static int __init snd_pmac_detect(pmac_t *chip) | |||
1027 | are available */ | 1032 | are available */ |
1028 | prop = (unsigned int *) get_property(sound, "sample-rates", &l); | 1033 | prop = (unsigned int *) get_property(sound, "sample-rates", &l); |
1029 | if (! prop) | 1034 | if (! prop) |
1030 | prop = (unsigned int *) get_property(sound, "output-frame-rates", &l); | 1035 | prop = (unsigned int *) get_property(sound, |
1036 | "output-frame-rates", &l); | ||
1031 | if (prop) { | 1037 | if (prop) { |
1032 | int i; | 1038 | int i; |
1033 | chip->freqs_ok = 0; | 1039 | chip->freqs_ok = 0; |
@@ -1054,7 +1060,8 @@ static int __init snd_pmac_detect(pmac_t *chip) | |||
1054 | /* | 1060 | /* |
1055 | * exported - boolean info callbacks for ease of programming | 1061 | * exported - boolean info callbacks for ease of programming |
1056 | */ | 1062 | */ |
1057 | int snd_pmac_boolean_stereo_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *uinfo) | 1063 | int snd_pmac_boolean_stereo_info(snd_kcontrol_t *kcontrol, |
1064 | snd_ctl_elem_info_t *uinfo) | ||
1058 | { | 1065 | { |
1059 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | 1066 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; |
1060 | uinfo->count = 2; | 1067 | uinfo->count = 2; |
@@ -1063,7 +1070,8 @@ int snd_pmac_boolean_stereo_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * | |||
1063 | return 0; | 1070 | return 0; |
1064 | } | 1071 | } |
1065 | 1072 | ||
1066 | int snd_pmac_boolean_mono_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *uinfo) | 1073 | int snd_pmac_boolean_mono_info(snd_kcontrol_t *kcontrol, |
1074 | snd_ctl_elem_info_t *uinfo) | ||
1067 | { | 1075 | { |
1068 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | 1076 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; |
1069 | uinfo->count = 1; | 1077 | uinfo->count = 1; |
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 84b0bbddbd22..aae66144d411 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c | |||
@@ -3289,7 +3289,7 @@ static void snd_usb_audio_disconnect(struct usb_device *dev, void *ptr) | |||
3289 | } | 3289 | } |
3290 | usb_chip[chip->index] = NULL; | 3290 | usb_chip[chip->index] = NULL; |
3291 | up(®ister_mutex); | 3291 | up(®ister_mutex); |
3292 | snd_card_free_in_thread(card); | 3292 | snd_card_free(card); |
3293 | } else { | 3293 | } else { |
3294 | up(®ister_mutex); | 3294 | up(®ister_mutex); |
3295 | } | 3295 | } |
diff --git a/sound/usb/usx2y/usbusx2y.c b/sound/usb/usx2y/usbusx2y.c index b06a267e5dac..89ee8b732013 100644 --- a/sound/usb/usx2y/usbusx2y.c +++ b/sound/usb/usx2y/usbusx2y.c | |||
@@ -1,6 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * usbusy2y.c - ALSA USB US-428 Driver | 2 | * usbusy2y.c - ALSA USB US-428 Driver |
3 | * | 3 | * |
4 | 2005-04-14 Karsten Wiese | ||
5 | Version 0.8.7.2: | ||
6 | Call snd_card_free() instead of snd_card_free_in_thread() to prevent oops with dead keyboard symptom. | ||
7 | Tested ok with kernel 2.6.12-rc2. | ||
8 | |||
4 | 2004-12-14 Karsten Wiese | 9 | 2004-12-14 Karsten Wiese |
5 | Version 0.8.7.1: | 10 | Version 0.8.7.1: |
6 | snd_pcm_open for rawusb pcm-devices now returns -EBUSY if called without rawusb's hwdep device being open. | 11 | snd_pcm_open for rawusb pcm-devices now returns -EBUSY if called without rawusb's hwdep device being open. |
@@ -143,7 +148,7 @@ | |||
143 | 148 | ||
144 | 149 | ||
145 | MODULE_AUTHOR("Karsten Wiese <annabellesgarden@yahoo.de>"); | 150 | MODULE_AUTHOR("Karsten Wiese <annabellesgarden@yahoo.de>"); |
146 | MODULE_DESCRIPTION("TASCAM "NAME_ALLCAPS" Version 0.8.7.1"); | 151 | MODULE_DESCRIPTION("TASCAM "NAME_ALLCAPS" Version 0.8.7.2"); |
147 | MODULE_LICENSE("GPL"); | 152 | MODULE_LICENSE("GPL"); |
148 | MODULE_SUPPORTED_DEVICE("{{TASCAM(0x1604), "NAME_ALLCAPS"(0x8001)(0x8005)(0x8007) }}"); | 153 | MODULE_SUPPORTED_DEVICE("{{TASCAM(0x1604), "NAME_ALLCAPS"(0x8001)(0x8005)(0x8007) }}"); |
149 | 154 | ||
@@ -430,8 +435,6 @@ static void usX2Y_usb_disconnect(struct usb_device* device, void* ptr) | |||
430 | if (ptr) { | 435 | if (ptr) { |
431 | usX2Ydev_t* usX2Y = usX2Y((snd_card_t*)ptr); | 436 | usX2Ydev_t* usX2Y = usX2Y((snd_card_t*)ptr); |
432 | struct list_head* p; | 437 | struct list_head* p; |
433 | if (usX2Y->chip_status == USX2Y_STAT_CHIP_HUP) // on 2.6.1 kernel snd_usbmidi_disconnect() | ||
434 | return; // calls us back. better leave :-) . | ||
435 | usX2Y->chip.shutdown = 1; | 438 | usX2Y->chip.shutdown = 1; |
436 | usX2Y->chip_status = USX2Y_STAT_CHIP_HUP; | 439 | usX2Y->chip_status = USX2Y_STAT_CHIP_HUP; |
437 | usX2Y_unlinkSeq(&usX2Y->AS04); | 440 | usX2Y_unlinkSeq(&usX2Y->AS04); |
@@ -443,7 +446,7 @@ static void usX2Y_usb_disconnect(struct usb_device* device, void* ptr) | |||
443 | } | 446 | } |
444 | if (usX2Y->us428ctls_sharedmem) | 447 | if (usX2Y->us428ctls_sharedmem) |
445 | wake_up(&usX2Y->us428ctls_wait_queue_head); | 448 | wake_up(&usX2Y->us428ctls_wait_queue_head); |
446 | snd_card_free_in_thread((snd_card_t*)ptr); | 449 | snd_card_free((snd_card_t*)ptr); |
447 | } | 450 | } |
448 | } | 451 | } |
449 | 452 | ||