diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-11-08 03:16:06 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-08 03:16:06 -0500 |
commit | f6450739617977b81035edd0d42a3fac514c1a7b (patch) | |
tree | abb7ce47ed0d727488ce4b92b52ca0131ce340db /sound | |
parent | 6fc786d5034ed7ce2d43c459211137de6d99dd28 (diff) | |
parent | f37325a956f0ee4356793da7d93c699a25b21d92 (diff) |
Merge branch 'fix/misc' into for-linus
Diffstat (limited to 'sound')
-rw-r--r-- | sound/oss/dmasound/dmasound_core.c | 4 | ||||
-rw-r--r-- | sound/oss/sb_common.c | 4 | ||||
-rw-r--r-- | sound/oss/sb_ess.c | 2 | ||||
-rw-r--r-- | sound/pci/intel8x0.c | 6 | ||||
-rw-r--r-- | sound/sh/aica.c | 1 | ||||
-rw-r--r-- | sound/usb/usbaudio.h | 2 |
6 files changed, 14 insertions, 5 deletions
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c index 793b7f478433..3f3c3f71db4b 100644 --- a/sound/oss/dmasound/dmasound_core.c +++ b/sound/oss/dmasound/dmasound_core.c | |||
@@ -219,7 +219,9 @@ static int shared_resources_initialised; | |||
219 | * Mid level stuff | 219 | * Mid level stuff |
220 | */ | 220 | */ |
221 | 221 | ||
222 | struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED }; | 222 | struct sound_settings dmasound = { |
223 | .lock = __SPIN_LOCK_UNLOCKED(dmasound.lock) | ||
224 | }; | ||
223 | 225 | ||
224 | static inline void sound_silence(void) | 226 | static inline void sound_silence(void) |
225 | { | 227 | { |
diff --git a/sound/oss/sb_common.c b/sound/oss/sb_common.c index 77d0e5efda76..ce4db49291f7 100644 --- a/sound/oss/sb_common.c +++ b/sound/oss/sb_common.c | |||
@@ -157,7 +157,7 @@ static void sb_intr (sb_devc *devc) | |||
157 | break; | 157 | break; |
158 | 158 | ||
159 | default: | 159 | default: |
160 | /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */ | 160 | /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */ |
161 | ; | 161 | ; |
162 | } | 162 | } |
163 | } | 163 | } |
@@ -177,7 +177,7 @@ static void sb_intr (sb_devc *devc) | |||
177 | break; | 177 | break; |
178 | 178 | ||
179 | default: | 179 | default: |
180 | /* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */ | 180 | /* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */ |
181 | ; | 181 | ; |
182 | } | 182 | } |
183 | } | 183 | } |
diff --git a/sound/oss/sb_ess.c b/sound/oss/sb_ess.c index 180e95c87e3e..51a3d381a59e 100644 --- a/sound/oss/sb_ess.c +++ b/sound/oss/sb_ess.c | |||
@@ -782,7 +782,7 @@ printk(KERN_INFO "FKS: ess_handle_channel %s irq_mode=%d\n", channel, irq_mode); | |||
782 | break; | 782 | break; |
783 | 783 | ||
784 | default:; | 784 | default:; |
785 | /* printk(KERN_WARN "ESS: Unexpected interrupt\n"); */ | 785 | /* printk(KERN_WARNING "ESS: Unexpected interrupt\n"); */ |
786 | } | 786 | } |
787 | } | 787 | } |
788 | 788 | ||
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 754867ed4785..aac20fb4aad2 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -1950,6 +1950,12 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = { | |||
1950 | }, | 1950 | }, |
1951 | { | 1951 | { |
1952 | .subvendor = 0x104d, | 1952 | .subvendor = 0x104d, |
1953 | .subdevice = 0x8144, | ||
1954 | .name = "Sony", | ||
1955 | .type = AC97_TUNE_INV_EAPD | ||
1956 | }, | ||
1957 | { | ||
1958 | .subvendor = 0x104d, | ||
1953 | .subdevice = 0x8197, | 1959 | .subdevice = 0x8197, |
1954 | .name = "Sony S1XP", | 1960 | .name = "Sony S1XP", |
1955 | .type = AC97_TUNE_INV_EAPD | 1961 | .type = AC97_TUNE_INV_EAPD |
diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 583a3693df75..a0df401ebb9f 100644 --- a/sound/sh/aica.c +++ b/sound/sh/aica.c | |||
@@ -49,6 +49,7 @@ MODULE_AUTHOR("Adrian McMenamin <adrian@mcmen.demon.co.uk>"); | |||
49 | MODULE_DESCRIPTION("Dreamcast AICA sound (pcm) driver"); | 49 | MODULE_DESCRIPTION("Dreamcast AICA sound (pcm) driver"); |
50 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
51 | MODULE_SUPPORTED_DEVICE("{{Yamaha/SEGA, AICA}}"); | 51 | MODULE_SUPPORTED_DEVICE("{{Yamaha/SEGA, AICA}}"); |
52 | MODULE_FIRMWARE("aica_firmware.bin"); | ||
52 | 53 | ||
53 | /* module parameters */ | 54 | /* module parameters */ |
54 | #define CARD_NAME "AICA" | 55 | #define CARD_NAME "AICA" |
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h index 8e7f78941ba6..e9a3a9dca15c 100644 --- a/sound/usb/usbaudio.h +++ b/sound/usb/usbaudio.h | |||
@@ -210,7 +210,7 @@ struct snd_usb_midi_endpoint_info { | |||
210 | /* | 210 | /* |
211 | */ | 211 | */ |
212 | 212 | ||
213 | #define combine_word(s) ((*s) | ((unsigned int)(s)[1] << 8)) | 213 | #define combine_word(s) ((*(s)) | ((unsigned int)(s)[1] << 8)) |
214 | #define combine_triple(s) (combine_word(s) | ((unsigned int)(s)[2] << 16)) | 214 | #define combine_triple(s) (combine_word(s) | ((unsigned int)(s)[2] << 16)) |
215 | #define combine_quad(s) (combine_triple(s) | ((unsigned int)(s)[3] << 24)) | 215 | #define combine_quad(s) (combine_triple(s) | ((unsigned int)(s)[3] << 24)) |
216 | 216 | ||