diff options
Diffstat (limited to 'sound/isa/sb')
-rw-r--r-- | sound/isa/sb/Makefile | 2 | ||||
-rw-r--r-- | sound/isa/sb/emu8000.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/emu8000_synth.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb16.c | 4 | ||||
-rw-r--r-- | sound/isa/sb/sb16_csp.c | 9 | ||||
-rw-r--r-- | sound/isa/sb/sb16_main.c | 4 | ||||
-rw-r--r-- | sound/isa/sb/sb8.c | 4 | ||||
-rw-r--r-- | sound/isa/sb/sb8_main.c | 4 | ||||
-rw-r--r-- | sound/isa/sb/sb8_midi.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb_common.c | 8 | ||||
-rw-r--r-- | sound/isa/sb/sb_mixer.c | 2 |
11 files changed, 19 insertions, 24 deletions
diff --git a/sound/isa/sb/Makefile b/sound/isa/sb/Makefile index 556e66928029..c9d1c986d70e 100644 --- a/sound/isa/sb/Makefile +++ b/sound/isa/sb/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Makefile for ALSA | 2 | # Makefile for ALSA |
3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> | 3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz> |
4 | # | 4 | # |
5 | 5 | ||
6 | snd-sb-common-objs := sb_common.o sb_mixer.o | 6 | snd-sb-common-objs := sb_common.o sb_mixer.o |
diff --git a/sound/isa/sb/emu8000.c b/sound/isa/sb/emu8000.c index 658179e86142..4eea84cfd4f4 100644 --- a/sound/isa/sb/emu8000.c +++ b/sound/isa/sb/emu8000.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * and (c) 1999 Steve Ratcliffe <steve@parabola.demon.co.uk> | 3 | * and (c) 1999 Steve Ratcliffe <steve@parabola.demon.co.uk> |
4 | * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> | 4 | * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> |
5 | * | 5 | * |
diff --git a/sound/isa/sb/emu8000_synth.c b/sound/isa/sb/emu8000_synth.c index 3d72742b342f..0c7905c85b76 100644 --- a/sound/isa/sb/emu8000_synth.c +++ b/sound/isa/sb/emu8000_synth.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * and (c) 1999 Steve Ratcliffe <steve@parabola.demon.co.uk> | 3 | * and (c) 1999 Steve Ratcliffe <steve@parabola.demon.co.uk> |
4 | * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> | 4 | * Copyright (C) 1999-2000 Takashi Iwai <tiwai@suse.de> |
5 | * | 5 | * |
diff --git a/sound/isa/sb/sb16.c b/sound/isa/sb/sb16.c index c4ba24bfd27c..e7f9edd92626 100644 --- a/sound/isa/sb/sb16.c +++ b/sound/isa/sb/sb16.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for SoundBlaster 16/AWE32/AWE64 soundcards | 2 | * Driver for SoundBlaster 16/AWE32/AWE64 soundcards |
3 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 3 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
@@ -44,7 +44,7 @@ | |||
44 | #define PFX "sb16: " | 44 | #define PFX "sb16: " |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>"); | 47 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); |
48 | MODULE_LICENSE("GPL"); | 48 | MODULE_LICENSE("GPL"); |
49 | #ifndef SNDRV_SBAWE | 49 | #ifndef SNDRV_SBAWE |
50 | MODULE_DESCRIPTION("Sound Blaster 16"); | 50 | MODULE_DESCRIPTION("Sound Blaster 16"); |
diff --git a/sound/isa/sb/sb16_csp.c b/sound/isa/sb/sb16_csp.c index b279f2308aef..3682059787ab 100644 --- a/sound/isa/sb/sb16_csp.c +++ b/sound/isa/sb/sb16_csp.c | |||
@@ -979,14 +979,7 @@ static int snd_sb_csp_restart(struct snd_sb_csp * p) | |||
979 | * QSound mixer control for PCM | 979 | * QSound mixer control for PCM |
980 | */ | 980 | */ |
981 | 981 | ||
982 | static int snd_sb_qsound_switch_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) | 982 | #define snd_sb_qsound_switch_info snd_ctl_boolean_mono_info |
983 | { | ||
984 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | ||
985 | uinfo->count = 1; | ||
986 | uinfo->value.integer.min = 0; | ||
987 | uinfo->value.integer.max = 1; | ||
988 | return 0; | ||
989 | } | ||
990 | 983 | ||
991 | static int snd_sb_qsound_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) | 984 | static int snd_sb_qsound_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) |
992 | { | 985 | { |
diff --git a/sound/isa/sb/sb16_main.c b/sound/isa/sb/sb16_main.c index 5d4d3aafe2d5..c06754f7ee5d 100644 --- a/sound/isa/sb/sb16_main.c +++ b/sound/isa/sb/sb16_main.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * Routines for control of 16-bit SoundBlaster cards and clones | 3 | * Routines for control of 16-bit SoundBlaster cards and clones |
4 | * Note: This is very ugly hardware which uses one 8-bit DMA channel and | 4 | * Note: This is very ugly hardware which uses one 8-bit DMA channel and |
5 | * second 16-bit DMA channel. Unfortunately 8-bit DMA channel can't | 5 | * second 16-bit DMA channel. Unfortunately 8-bit DMA channel can't |
@@ -45,7 +45,7 @@ | |||
45 | #include <sound/control.h> | 45 | #include <sound/control.h> |
46 | #include <sound/info.h> | 46 | #include <sound/info.h> |
47 | 47 | ||
48 | MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>"); | 48 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); |
49 | MODULE_DESCRIPTION("Routines for control of 16-bit SoundBlaster cards and clones"); | 49 | MODULE_DESCRIPTION("Routines for control of 16-bit SoundBlaster cards and clones"); |
50 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
51 | 51 | ||
diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c index a1b3786b391e..f933aef7d8a9 100644 --- a/sound/isa/sb/sb8.c +++ b/sound/isa/sb/sb8.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for SoundBlaster 1.0/2.0/Pro soundcards and compatible | 2 | * Driver for SoundBlaster 1.0/2.0/Pro soundcards and compatible |
3 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 3 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
4 | * | 4 | * |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
@@ -31,7 +31,7 @@ | |||
31 | #include <sound/opl3.h> | 31 | #include <sound/opl3.h> |
32 | #include <sound/initval.h> | 32 | #include <sound/initval.h> |
33 | 33 | ||
34 | MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>"); | 34 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); |
35 | MODULE_DESCRIPTION("Sound Blaster 1.0/2.0/Pro"); | 35 | MODULE_DESCRIPTION("Sound Blaster 1.0/2.0/Pro"); |
36 | MODULE_LICENSE("GPL"); | 36 | MODULE_LICENSE("GPL"); |
37 | MODULE_SUPPORTED_DEVICE("{{Creative Labs,SB 1.0/SB 2.0/SB Pro}}"); | 37 | MODULE_SUPPORTED_DEVICE("{{Creative Labs,SB 1.0/SB 2.0/SB Pro}}"); |
diff --git a/sound/isa/sb/sb8_main.c b/sound/isa/sb/sb8_main.c index aea9e5ec7b36..bee894b3f5c7 100644 --- a/sound/isa/sb/sb8_main.c +++ b/sound/isa/sb/sb8_main.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * Uros Bizjak <uros@kss-loka.si> | 3 | * Uros Bizjak <uros@kss-loka.si> |
4 | * | 4 | * |
5 | * Routines for control of 8-bit SoundBlaster cards and clones | 5 | * Routines for control of 8-bit SoundBlaster cards and clones |
@@ -38,7 +38,7 @@ | |||
38 | #include <sound/core.h> | 38 | #include <sound/core.h> |
39 | #include <sound/sb.h> | 39 | #include <sound/sb.h> |
40 | 40 | ||
41 | MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>, Uros Bizjak <uros@kss-loka.si>"); | 41 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, Uros Bizjak <uros@kss-loka.si>"); |
42 | MODULE_DESCRIPTION("Routines for control of 8-bit SoundBlaster cards and clones"); | 42 | MODULE_DESCRIPTION("Routines for control of 8-bit SoundBlaster cards and clones"); |
43 | MODULE_LICENSE("GPL"); | 43 | MODULE_LICENSE("GPL"); |
44 | 44 | ||
diff --git a/sound/isa/sb/sb8_midi.c b/sound/isa/sb/sb8_midi.c index 0b67edd7ac6e..e56e5633411c 100644 --- a/sound/isa/sb/sb8_midi.c +++ b/sound/isa/sb/sb8_midi.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * Routines for control of SoundBlaster cards - MIDI interface | 3 | * Routines for control of SoundBlaster cards - MIDI interface |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c index efa9d5c2558a..176193c05101 100644 --- a/sound/isa/sb/sb_common.c +++ b/sound/isa/sb/sb_common.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * Uros Bizjak <uros@kss-loka.si> | 3 | * Uros Bizjak <uros@kss-loka.si> |
4 | * | 4 | * |
5 | * Lowlevel routines for control of Sound Blaster cards | 5 | * Lowlevel routines for control of Sound Blaster cards |
@@ -33,7 +33,7 @@ | |||
33 | #include <asm/io.h> | 33 | #include <asm/io.h> |
34 | #include <asm/dma.h> | 34 | #include <asm/dma.h> |
35 | 35 | ||
36 | MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>"); | 36 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); |
37 | MODULE_DESCRIPTION("ALSA lowlevel driver for Sound Blaster cards"); | 37 | MODULE_DESCRIPTION("ALSA lowlevel driver for Sound Blaster cards"); |
38 | MODULE_LICENSE("GPL"); | 38 | MODULE_LICENSE("GPL"); |
39 | 39 | ||
@@ -234,7 +234,9 @@ int snd_sbdsp_create(struct snd_card *card, | |||
234 | chip->dma16 = -1; | 234 | chip->dma16 = -1; |
235 | chip->port = port; | 235 | chip->port = port; |
236 | 236 | ||
237 | if (request_irq(irq, irq_handler, hardware == SB_HW_ALS4000 ? | 237 | if (request_irq(irq, irq_handler, |
238 | (hardware == SB_HW_ALS4000 || | ||
239 | hardware == SB_HW_CS5530) ? | ||
238 | IRQF_SHARED : IRQF_DISABLED, | 240 | IRQF_SHARED : IRQF_DISABLED, |
239 | "SoundBlaster", (void *) chip)) { | 241 | "SoundBlaster", (void *) chip)) { |
240 | snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); | 242 | snd_printk(KERN_ERR "sb: can't grab irq %d\n", irq); |
diff --git a/sound/isa/sb/sb_mixer.c b/sound/isa/sb/sb_mixer.c index 3d4befcff28e..03241cd5aaef 100644 --- a/sound/isa/sb/sb_mixer.c +++ b/sound/isa/sb/sb_mixer.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) by Jaroslav Kysela <perex@suse.cz> | 2 | * Copyright (c) by Jaroslav Kysela <perex@perex.cz> |
3 | * Routines for Sound Blaster mixer control | 3 | * Routines for Sound Blaster mixer control |
4 | * | 4 | * |
5 | * | 5 | * |