ALSA fixes #2 for 2.6.29-rc3
Subsystems (5)
Linus,
please pull ALSA updates for 2.6.29-rc3 from:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus
containing the following trivial fixes.
Thanks!
Takashi
===
Eero Nurkkala (1):
OMAP: ASoC: Fix spinlock misuse in omap-pcm.c
Liam Girdwood (1):
ALSA: ASoC: email - update email addresses.
Mark Eggleston (1):
ALSA: hda - Add support of iMac 24 Aluminium
Roel Kluin (2):
ALSA: alsa: time reaches -1, tested 0
ALSA: pcm_oss: AFMT_S24_LE is set twice in return value
Takashi Iwai (2):
ALSA: hda - Add quirk for another HP dv5 model
ALSA: hda - No widget selection for volume knob widgets in proc output
--- sound/core/oss/pcm_oss.c | 2 +- sound/pci/hda/hda_proc.c | 3 ++- sound/pci/hda/patch_realtek.c | 1 + sound/pci/hda/patch_sigmatel.c | 2 ++ sound/pci/intel8x0.c | 2 +- sound/soc/atmel/atmel_ssc_dai.c | 2 +- sound/soc/atmel/atmel_ssc_dai.h | 2 +- sound/soc/codecs/wm8350.c | 2 +- sound/soc/codecs/wm8990.c | 3 +-- sound/soc/omap/omap-pcm.c | 5 +++-- 10 files changed, 14 insertions(+), 10 deletions(-)
sound/core/oss/pcm_oss.c +1 -1
@@ -1767,7 +1767,7 @@ static int snd_pcm_oss_get_formats(struct snd_pcm_oss_file *pcm_oss_file)AFMT_S8 |AFMT_U16_LE |AFMT_U16_BE |AFMT_S32_LE |AFMT_S32_BE | -AFMT_S24_LE |AFMT_S24_LE | +AFMT_S24_LE |AFMT_S24_BE |AFMT_S24_PACKED ; params =kmalloc (sizeof (*params),GFP_KERNEL );if (!params)
sound/pci/hda/hda_proc.c +2 -1
@@ -399,7 +399,8 @@ static void print_conn_list(struct snd_info_buffer *buffer, {int c, curr =-1 ; -if (conn_len >1 && wid_type !=AC_WID_AUD_MIX ) +if (conn_len >1 && wid_type !=AC_WID_AUD_MIX && + wid_type !=AC_WID_VOL_KNB ) curr =snd_hda_codec_read (codec, nid,0 ,AC_VERB_GET_CONNECT_SEL ,0 );snd_iprintf (buffer," Connection: %d\n" , conn_len);
sound/pci/hda/patch_realtek.c +1 -0
@@ -7012,6 +7012,7 @@ static int patch_alc882(struct hda_codec *codec)break ;case 0x106b1000 :/* iMac 24 */ case 0x106b2800 :/* AppleTV */ +case 0x106b3e00 :/* iMac 24 Aluminium */ board_config =ALC885_IMAC24 ;break ;case 0x106b00a1 :/* Macbook (might be wrong - PCI SSID?) */
sound/pci/hda/patch_sigmatel.c +2 -0
@@ -1804,6 +1804,8 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = { "HP dv4", STAC_HP_DV5),SND_PCI_QUIRK (PCI_VENDOR_ID_HP ,0x30fc ,"HP dv7" ,STAC_HP_M4 ), +SND_PCI_QUIRK (PCI_VENDOR_ID_HP ,0x3600 , +"HP dv5" ,STAC_HP_DV5 ),SND_PCI_QUIRK (PCI_VENDOR_ID_HP ,0x3603 ,"HP dv5" ,STAC_HP_DV5 ), SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x361a,
sound/pci/intel8x0.c +1 -1
@@ -617,7 +617,7 @@ static int snd_intel8x0_ali_codec_semaphore(struct intel8x0 *chip)int time =100 ;if (chip->buggy_semaphore)return 0 ;/* just ignore ... */ -while (time-- && (igetdword (chip,ICHREG (ALI_CAS )) &ALI_CAS_SEM_BUSY )) +while (--time && (igetdword (chip,ICHREG (ALI_CAS )) &ALI_CAS_SEM_BUSY ))udelay (1 );if (! time && ! chip->in_ac97_init)snd_printk (KERN_WARNING "ali_codec_semaphore timeout\n" );
sound/soc/atmel/atmel_ssc_dai.c +1 -1
@@ -10,7 +10,7 @@* Based on at91-ssc.c by * Frank Mandarino <[email protected]> * Based on pxa2xx Platform drivers by -* Liam Girdwood <[email protected]> +* Liam Girdwood <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
sound/soc/atmel/atmel_ssc_dai.h +1 -1
@@ -10,7 +10,7 @@* Based on at91-ssc.c by * Frank Mandarino <[email protected]> * Based on pxa2xx Platform drivers by -* Liam Girdwood <[email protected]> +* Liam Girdwood <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by
sound/soc/codecs/wm8350.c +1 -1
@@ -3,7 +3,7 @@* * Copyright (C) 2007, 2008 Wolfson Microelectronics PLC. * -* Author: Liam Girdwood <[email protected]> +* Author: Liam Girdwood <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as
sound/soc/codecs/wm8990.c +1 -2
@@ -2,8 +2,7 @@* wm8990.c -- WM8990 ALSA Soc Audio driver * * Copyright 2008 Wolfson Microelectronics PLC. -* Author: Liam Girdwood -* [email protected] or [email protected] +* Author: Liam Girdwood <[email protected]> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the
sound/soc/omap/omap-pcm.c +3 -2
@@ -175,9 +175,10 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd) {struct snd_pcm_runtime *runtime = substream->runtime;struct omap_runtime_data *prtd = runtime->private_data; +unsigned long flags;int ret =0 ; -spin_lock_irq (&prtd->lock); +spin_lock_irqsave (&prtd->lock, flags);switch (cmd) {case SNDRV_PCM_TRIGGER_START :case SNDRV_PCM_TRIGGER_RESUME :
@@ -195,7 +196,7 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)default : ret = -EINVAL ; } -spin_unlock_irq (&prtd->lock); +spin_unlock_irqrestore (&prtd->lock, flags);return ret; }