Skip to content

Commit

Permalink
Merge branch 'fix/misc' into for-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Iwai committed Nov 8, 2009
2 parents 6fc786d + f37325a commit f645073
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
4 changes: 3 additions & 1 deletion sound/oss/dmasound/dmasound_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ static int shared_resources_initialised;
* Mid level stuff
*/

struct sound_settings dmasound = { .lock = SPIN_LOCK_UNLOCKED };
struct sound_settings dmasound = {
.lock = __SPIN_LOCK_UNLOCKED(dmasound.lock)
};

static inline void sound_silence(void)
{
Expand Down
4 changes: 2 additions & 2 deletions sound/oss/sb_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static void sb_intr (sb_devc *devc)
break;

default:
/* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */
/* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */
;
}
}
Expand All @@ -177,7 +177,7 @@ static void sb_intr (sb_devc *devc)
break;

default:
/* printk(KERN_WARN "Sound Blaster: Unexpected interrupt\n"); */
/* printk(KERN_WARNING "Sound Blaster: Unexpected interrupt\n"); */
;
}
}
Expand Down
2 changes: 1 addition & 1 deletion sound/oss/sb_ess.c
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ printk(KERN_INFO "FKS: ess_handle_channel %s irq_mode=%d\n", channel, irq_mode);
break;

default:;
/* printk(KERN_WARN "ESS: Unexpected interrupt\n"); */
/* printk(KERN_WARNING "ESS: Unexpected interrupt\n"); */
}
}

Expand Down
6 changes: 6 additions & 0 deletions sound/pci/intel8x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -1948,6 +1948,12 @@ static struct ac97_quirk ac97_quirks[] __devinitdata = {
.name = "HP xw4200", /* AD1981B*/
.type = AC97_TUNE_HP_ONLY
},
{
.subvendor = 0x104d,
.subdevice = 0x8144,
.name = "Sony",
.type = AC97_TUNE_INV_EAPD
},
{
.subvendor = 0x104d,
.subdevice = 0x8197,
Expand Down
1 change: 1 addition & 0 deletions sound/sh/aica.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MODULE_AUTHOR("Adrian McMenamin <adrian@mcmen.demon.co.uk>");
MODULE_DESCRIPTION("Dreamcast AICA sound (pcm) driver");
MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{Yamaha/SEGA, AICA}}");
MODULE_FIRMWARE("aica_firmware.bin");

/* module parameters */
#define CARD_NAME "AICA"
Expand Down
2 changes: 1 addition & 1 deletion sound/usb/usbaudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ struct snd_usb_midi_endpoint_info {
/*
*/

#define combine_word(s) ((*s) | ((unsigned int)(s)[1] << 8))
#define combine_word(s) ((*(s)) | ((unsigned int)(s)[1] << 8))
#define combine_triple(s) (combine_word(s) | ((unsigned int)(s)[2] << 16))
#define combine_quad(s) (combine_triple(s) | ((unsigned int)(s)[3] << 24))

Expand Down

0 comments on commit f645073

Please sign in to comment.