Linux Kernel Mailing List | 1 Mar 2011 04:59

mm: <asm-generic/pgtable.h> must include <linux/mm_types.h>

Gitweb:     http://git.kernel.org/linus/fbd71844852c9458bf73c7cbdae7189c2d4b377c
Commit:     fbd71844852c9458bf73c7cbdae7189c2d4b377c
Parent:     493f3358cb289ccf716c5a14fa5bb52ab75943e5
Author:     Ben Hutchings <ben <at> decadent.org.uk>
AuthorDate: Sun Feb 27 05:41:35 2011 +0000
Committer:  Linus Torvalds <torvalds <at> linux-foundation.org>
CommitDate: Mon Feb 28 17:46:49 2011 -0800

    mm: <asm-generic/pgtable.h> must include <linux/mm_types.h>

    Commit e2cda3226481 ("thp: add pmd mangling generic functions") replaced
    some macros in <asm-generic/pgtable.h> with inline functions.

    If the functions are to be defined (not all architectures need them)
    then struct vm_area_struct must be defined first.  So include
    <linux/mm_types.h>.

    Fixes a build failure seen in Debian:

        CC [M]  drivers/media/dvb/mantis/mantis_pci.o
      In file included from arch/arm/include/asm/pgtable.h:460,
                       from drivers/media/dvb/mantis/mantis_pci.c:25:
      include/asm-generic/pgtable.h: In function 'ptep_test_and_clear_young':
      include/asm-generic/pgtable.h:29: error: dereferencing pointer to incomplete type

    Signed-off-by: Ben Hutchings <ben <at> decadent.org.uk>
    Signed-off-by: Linus Torvalds <torvalds <at> linux-foundation.org>
---
 include/asm-generic/pgtable.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: usb-audio: fix oops due to cleanup race when disconnecting

Gitweb:     http://git.kernel.org/linus/382225e62bdb8059b7f915b133426425516dd300
Commit:     382225e62bdb8059b7f915b133426425516dd300
Parent:     306496761745942d8167e9193a738b559a7fb0b3
Author:     Takashi Iwai <tiwai <at> suse.de>
AuthorDate: Tue Feb 22 10:21:18 2011 +0100
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Wed Feb 23 08:15:43 2011 +0100

    ALSA: usb-audio: fix oops due to cleanup race when disconnecting

    When a USB audio device is disconnected, snd_usb_audio_disconnect()
    kills all audio URBs.  At the same time, the application, after being
    notified of the disconnection, might close the device, in which case
    ALSA calls the .hw_free callback, which should free the URBs too.

    Commit de1b8b93a0ba "[ALSA] Fix hang-up at disconnection of usb-audio"
    prevented snd_usb_hw_free() from freeing the URBs to avoid a hang that
    resulted from this race, but this introduced another race because the
    URB callbacks could now be executed after snd_usb_hw_free() has
    returned, and try to access already freed data.

    Fix the first race by introducing a mutex to serialize the disconnect
    callback and all PCM callbacks that manage URBs (hw_free and hw_params).

    Reported-and-tested-by: Pierre-Louis Bossart <pierre-louis.bossart <at> intel.com>
    Cc: <stable <at> kernel.org>
    [CL: also serialize hw_params callback]
    Signed-off-by: Clemens Ladisch <clemens <at> ladisch.de>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: HDA: Add a new Conexant codec 506e (20590)

Gitweb:     http://git.kernel.org/linus/6da8b51657a9cd5a87b4e6e4c7bc76b598a95175
Commit:     6da8b51657a9cd5a87b4e6e4c7bc76b598a95175
Parent:     382225e62bdb8059b7f915b133426425516dd300
Author:     David Henningsson <david.henningsson <at> canonical.com>
AuthorDate: Tue Feb 8 07:16:06 2011 +0100
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Wed Feb 23 16:00:27 2011 +0100

    ALSA: HDA: Add a new Conexant codec 506e (20590)

    Conexant 506e/20590 has the same graph as the rest of the 5066 family.

    BugLink: http://bugs.launchpad.net/bugs/723672

    Cc: stable <at> kernel.org
    Signed-off-by: David Henningsson <david.henningsson <at> canonical.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/patch_conexant.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index dd7c5c1..909ce9e 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
 <at>  <at>  -3937,6 +3937,8  <at>  <at>  static struct hda_codec_preset snd_hda_preset_conexant[] = {
 	  .patch = patch_cxt5066 },
 	{ .id = 0x14f15069, .name = "CX20585",
 	  .patch = patch_cxt5066 },
+	{ .id = 0x14f1506e, .name = "CX20590",
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: HDA: Add ideapad quirk for two Dell machines

Gitweb:     http://git.kernel.org/linus/ebbd224c22a00dbbee95031a0d6d595460f6f2b3
Commit:     ebbd224c22a00dbbee95031a0d6d595460f6f2b3
Parent:     6da8b51657a9cd5a87b4e6e4c7bc76b598a95175
Author:     David Henningsson <david.henningsson <at> canonical.com>
AuthorDate: Wed Feb 23 13:15:56 2011 +0100
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Wed Feb 23 16:00:28 2011 +0100

    ALSA: HDA: Add ideapad quirk for two Dell machines

    These two Dell machines have been reported working well with
    the ideapad model.

    BugLink: http://bugs.launchpad.net/bugs/723676
    Cc: stable <at> kernel.org
    Tested-by: David Chen <david.chen <at> canonical.com>
    Signed-off-by: David Henningsson <david.henningsson <at> canonical.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/patch_conexant.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 909ce9e..4d5004e 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
 <at>  <at>  -3114,6 +3114,8  <at>  <at>  static struct snd_pci_quirk cxt5066_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x0401, "Dell Vostro 1014", CXT5066_DELL_VOSTRO),
 	SND_PCI_QUIRK(0x1028, 0x0402, "Dell Vostro", CXT5066_DELL_VOSTRO),
 	SND_PCI_QUIRK(0x1028, 0x0408, "Dell Inspiron One 19T", CXT5066_IDEAPAD),
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: HDA: Fix mic initialization in VIA auto parser

Gitweb:     http://git.kernel.org/linus/306496761745942d8167e9193a738b559a7fb0b3
Commit:     306496761745942d8167e9193a738b559a7fb0b3
Parent:     eeda276bef36026fce3029e6423e1a09a50c359e
Author:     David Henningsson <david.henningsson <at> canonical.com>
AuthorDate: Mon Feb 21 10:23:18 2011 +0100
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Tue Feb 22 14:02:09 2011 +0100

    ALSA: HDA: Fix mic initialization in VIA auto parser

    This typo caused some microphone inputs not to be correctly
    initialized on VIA codecs.

    Reported-By: Mark Goldstein <goldstein.mark <at> gmail.com>
    Cc: stable <at> kernel.org
    Signed-off-by: David Henningsson <david.henningsson <at> canonical.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/patch_via.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index a76c326..63b0054 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
 <at>  <at>  -567,7 +567,7  <at>  <at>  static void via_auto_init_analog_input(struct hda_codec *codec)
 		hda_nid_t nid = cfg->inputs[i].pin;
 		if (spec->smart51_enabled && is_smart51_pins(spec, nid))
 			ctl = PIN_OUT;
-		else if (i == AUTO_PIN_MIC)
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: fix one memory leak in sound jack

Gitweb:     http://git.kernel.org/linus/eeda276bef36026fce3029e6423e1a09a50c359e
Commit:     eeda276bef36026fce3029e6423e1a09a50c359e
Parent:     89724958e5d596bb91328644c97dd80399443e87
Author:     Lu Guanqun <guanqun.lu <at> intel.com>
AuthorDate: Mon Feb 21 13:45:04 2011 +0800
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Mon Feb 21 09:33:49 2011 +0100

    ALSA: fix one memory leak in sound jack

    Signed-off-by: Lu Guanqun <guanqun.lu <at> intel.com>
    Reviewed-by: Wu Fengguang <fengguang.wu <at> intel.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/core/jack.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/core/jack.c b/sound/core/jack.c
index 4902ae5..53b53e9 100644
--- a/sound/core/jack.c
+++ b/sound/core/jack.c
 <at>  <at>  -141,6 +141,7  <at>  <at>  int snd_jack_new(struct snd_card *card, const char *id, int type,

 fail_input:
 	input_free_device(jack->input_dev);
+	kfree(jack->id);
 	kfree(jack);
 	return err;
 }
--
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ALSA: hda - Add support for new IDT 92HD98 and 92HD99 codecs

Gitweb:     http://git.kernel.org/linus/4dfb8a45d533808e78d67ef27e0a47d456c12a92
Commit:     4dfb8a45d533808e78d67ef27e0a47d456c12a92
Parent:     ebbd224c22a00dbbee95031a0d6d595460f6f2b3
Author:     Vitaliy Kulikov <Vitaliy.Kulikov <at> idt.com>
AuthorDate: Tue Feb 22 17:32:19 2011 -0600
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Thu Feb 24 18:04:56 2011 +0100

    ALSA: hda - Add support for new IDT 92HD98 and 92HD99 codecs

    Also fix number of 92HD87 pins to exclude invalid pins.

    Signed-off-by: Vitaliy Kulikov <Vitaliy.Kulikov <at> idt.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/patch_sigmatel.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 9ea48b4..bd7b123 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
 <at>  <at>  -586,7 +586,12  <at>  <at>  static hda_nid_t stac92hd83xxx_pin_nids[10] = {
 	0x0f, 0x10, 0x11, 0x1f, 0x20,
 };

-static hda_nid_t stac92hd88xxx_pin_nids[10] = {
+static hda_nid_t stac92hd87xxx_pin_nids[6] = {
+	0x0a, 0x0b, 0x0c, 0x0d,
+	0x0f, 0x11,
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ASoC: Fix WM8958 default microphone detection argument ordering

Gitweb:     http://git.kernel.org/linus/406e56c9dfa0e654870631cd4d9ea20391a527eb
Commit:     406e56c9dfa0e654870631cd4d9ea20391a527eb
Parent:     3017358a75917b5ed5ad361c02ba2a7e257d3b2a
Author:     Mark Brown <broonie <at> opensource.wolfsonmicro.com>
AuthorDate: Mon Feb 21 20:41:25 2011 -0800
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Tue Feb 22 10:37:32 2011 -0800

    ASoC: Fix WM8958 default microphone detection argument ordering

    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
    Acked-by: Liam Girdwood <lrg <at> slimlogic.co.uk>
---
 sound/soc/codecs/wm8994.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index a60b5db..ebaee5c 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
 <at>  <at>  -3000,11 +3000,10  <at>  <at>  static void wm8958_default_micdet(u16 status, void *data)
 		report |= SND_JACK_BTN_5;

 done:
-	snd_soc_jack_report(wm8994->micdet[0].jack,
+	snd_soc_jack_report(wm8994->micdet[0].jack, report,
 			    SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 |
 			    SND_JACK_BTN_3 | SND_JACK_BTN_4 | SND_JACK_BTN_5 |
-			    SND_JACK_MICROPHONE | SND_JACK_VIDEOOUT,
-			    report);
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

ASoC: Correct definition of WM8903_VMID_RES_5K

Gitweb:     http://git.kernel.org/linus/8ceed344afab2d89516e6d52634ad81920762993
Commit:     8ceed344afab2d89516e6d52634ad81920762993
Parent:     406e56c9dfa0e654870631cd4d9ea20391a527eb
Author:     Mark Brown <broonie <at> opensource.wolfsonmicro.com>
AuthorDate: Mon Feb 21 10:44:42 2011 -0800
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Tue Feb 22 10:37:48 2011 -0800

    ASoC: Correct definition of WM8903_VMID_RES_5K

    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
    Acked-by: Liam Girdwood <lrg <at> slimlogic.co.uk>
---
 sound/soc/codecs/wm8903.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h
index e8490f3..e3ec243 100644
--- a/sound/soc/codecs/wm8903.h
+++ b/sound/soc/codecs/wm8903.h
 <at>  <at>  -165,7 +165,7  <at>  <at>  extern int wm8903_mic_detect(struct snd_soc_codec *codec,

 #define WM8903_VMID_RES_50K                          2
 #define WM8903_VMID_RES_250K                         3
-#define WM8903_VMID_RES_5K                           4
+#define WM8903_VMID_RES_5K                           6

 /*
  * R8 (0x08) - Analogue DAC 0
--
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2011 04:59

eukrea-tlv320: fix platform_name

Gitweb:     http://git.kernel.org/linus/43c63188821dc21b2af23a40a18faea6e386e90a
Commit:     43c63188821dc21b2af23a40a18faea6e386e90a
Parent:     4bfc4e2508234f9149fd33fae853e99fb9e4a75b
Author:     Eric Bénard <eric <at> eukrea.com>
AuthorDate: Fri Feb 25 13:47:46 2011 +0100
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Fri Feb 25 12:57:49 2011 +0000

    eukrea-tlv320: fix platform_name

    commit f0fba2ad1b6b53d5360125c41953b7afcd6deff0 included a mistake
    on the name of the platform in the snd_soc_dai_link structure.

    Signed-off-by: Eric Bénard <eric <at> eukrea.com>
    Acked-by: Liam Girdwood <lrg <at> slimlogic.co.uk>
    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
    Cc: stable <at> kernel.org
---
 sound/soc/imx/eukrea-tlv320.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/imx/eukrea-tlv320.c b/sound/soc/imx/eukrea-tlv320.c
index e20c9e1..1e9bcca 100644
--- a/sound/soc/imx/eukrea-tlv320.c
+++ b/sound/soc/imx/eukrea-tlv320.c
 <at>  <at>  -79,7 +79,7  <at>  <at>  static struct snd_soc_dai_link eukrea_tlv320_dai = {
 	.name		= "tlv320aic23",
 	.stream_name	= "TLV320AIC23",
 	.codec_dai_name	= "tlv320aic23-hifi",
-	.platform_name	= "imx-pcm-audio.0",
(Continue reading)


Gmane