Linux Kernel Mailing List | 17 May 2013 16:43

ALSA: hda - Add headset mic support for another Dell machine

Gitweb:     http://git.kernel.org/linus/;a=commit;h=436c4a0cfbc4c7a95c4ea37dbd9f697d5dfd553f
Commit:     436c4a0cfbc4c7a95c4ea37dbd9f697d5dfd553f
Parent:     088578617d2aaab05ea96b529f16c9a2f1cfbbee
Author:     David Henningsson <david.henningsson <at> canonical.com>
AuthorDate: Wed May 15 13:56:00 2013 +0200
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Thu May 16 07:19:09 2013 +0200

    ALSA: hda - Add headset mic support for another Dell machine

    BugLink: https://bugs.launchpad.net/bugs/1180351
    Signed-off-by: David Henningsson <david.henningsson <at> canonical.com>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/patch_realtek.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6bf47f7..59d2e91 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
 <at>  <at>  -3482,6 +3482,7  <at>  <at>  static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x05c9, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x05ca, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x05cb, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x1028, 0x05de, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x05e9, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x05ea, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1028, 0x05eb, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE),
--
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

sound: Fix make allmodconfig on MIPS correctly

Gitweb:     http://git.kernel.org/linus/;a=commit;h=a62ee234a572b4c98fe98cf5fb18e4e8b0f6e43d
Commit:     a62ee234a572b4c98fe98cf5fb18e4e8b0f6e43d
Parent:     f722406faae2d073cc1d01063d1123c35425939e
Author:     Paul Bolle <pebolle <at> tiscali.nl>
AuthorDate: Sun May 12 14:31:19 2013 +0200
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Mon May 13 15:54:19 2013 +0200

    sound: Fix make allmodconfig on MIPS correctly

    Commit d4702b189c ("sound: Fix make allmodconfig on MIPS") added a
    (negative) dependency on ISA_DMA_SUPPORT_BROKEN. Since that Kconfig
    symbol doesn't exist, this dependency will always evaluate to true.
    Apparently GENERIC_ISA_DMA_SUPPORT_BROKEN was meant to be used here.

    Signed-off-by: Paul Bolle <pebolle <at> tiscali.nl>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/oss/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index 51c4ba9..1a96402 100644
--- a/sound/oss/Kconfig
+++ b/sound/oss/Kconfig
 <at>  <at>  -250,7 +250,7  <at>  <at>  config MSND_FIFOSIZE
 menuconfig SOUND_OSS
 	tristate "OSS sound modules"
 	depends on ISA_DMA_API && VIRT_TO_BUS
-	depends on !ISA_DMA_SUPPORT_BROKEN
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ASoC: ux500: Swap even/odd AD slot definitions

Gitweb:     http://git.kernel.org/linus/;a=commit;h=2371e9cf14074c7d2542da56c5d6161fbe29a946
Commit:     2371e9cf14074c7d2542da56c5d6161fbe29a946
Parent:     c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
Author:     Fabio Baltieri <fabio.baltieri <at> linaro.org>
AuthorDate: Wed May 8 09:14:20 2013 +0200
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Wed May 8 12:02:30 2013 +0100

    ASoC: ux500: Swap even/odd AD slot definitions

    AD slots definitions for ab8500 codec were erroneously swapped between
    even and odd channels.  Fix this by swapping the definitions to be
    coherent with the channel number.

    Signed-off-by: Fabio Baltieri <fabio.baltieri <at> linaro.org>
    Acked-by: Lee Jones <lee.jones <at> linaro.org>
    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 sound/soc/codecs/ab8500-codec.h |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/sound/soc/codecs/ab8500-codec.h b/sound/soc/codecs/ab8500-codec.h
index 114f69a..306d0bc 100644
--- a/sound/soc/codecs/ab8500-codec.h
+++ b/sound/soc/codecs/ab8500-codec.h
 <at>  <at>  -348,25 +348,25  <at>  <at> 

 /* AB8500_ADSLOTSELX */
 #define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_ODD	0x00
-#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD	0x01
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ALSA: hda - Check the activity of the NID to be powered down

Gitweb:     http://git.kernel.org/linus/;a=commit;h=b1b9fbd0507aac4ddce14f513d52332f50be89dc
Commit:     b1b9fbd0507aac4ddce14f513d52332f50be89dc
Parent:     a62ee234a572b4c98fe98cf5fb18e4e8b0f6e43d
Author:     Takashi Iwai <tiwai <at> suse.de>
AuthorDate: Tue May 14 12:58:47 2013 +0200
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Thu May 16 07:18:05 2013 +0200

    ALSA: hda - Check the activity of the NID to be powered down

    When an inactive path is powered down with spec->power_down_unused
    flag, we should check the activity of each widget in the path whether
    it's still referred from any active path.

    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/pci/hda/hda_generic.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index ac079f9..ae85bbd 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
 <at>  <at>  -606,6 +606,10  <at>  <at>  static bool is_active_nid(struct hda_codec *codec, hda_nid_t nid,
 	return false;
 }

+/* check whether the NID is referred by any active paths */
+#define is_active_nid_for_any(codec, nid) \
+	is_active_nid(codec, nid, HDA_OUTPUT, 0)
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ALSA: usb-audio: proc: use found syncmaxsize to determine feedback format

Gitweb:     http://git.kernel.org/linus/;a=commit;h=e6135fe960bba1d1a3a6b6818839e6d8d3f21293
Commit:     e6135fe960bba1d1a3a6b6818839e6d8d3f21293
Parent:     436c4a0cfbc4c7a95c4ea37dbd9f697d5dfd553f
Author:     Torstein Hegge <hegge <at> resisty.net>
AuthorDate: Thu May 16 20:26:17 2013 +0200
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Fri May 17 08:05:34 2013 +0200

    ALSA: usb-audio: proc: use found syncmaxsize to determine feedback format

    freqshift is only set for the data endpoint and syncmaxsize is only set
    for the sync endpoint. This results in a syncmaxsize of zero used in the
    proc output feedback format calculation, which gives a feedback format
    incorrectly shown as 8.16 for UAC2 devices.

    As neither the data nor the sync endpoint gives all the relevant
    content, output the two combined.

    Also remove the sync_endpoint "packet size" which is always zero
    and the sync_endpoint "momentary freq" which is constant.

    Tested with UAC2 async and UAC1 adaptive, not tested with UAC1 async.

    Reported-by: B. Zhang <bb.zhang <at> free.fr>
    Signed-off-by: Torstein Hegge <hegge <at> resisty.net>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/usb/proc.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ALSA: snd-aoa: Add a layout entry for PowerBook6,5

Gitweb:     http://git.kernel.org/linus/;a=commit;h=088578617d2aaab05ea96b529f16c9a2f1cfbbee
Commit:     088578617d2aaab05ea96b529f16c9a2f1cfbbee
Parent:     478e858b2fd4d0cbeef039befb7ef25b9c9bdc37
Author:     Michael Ellerman <michael <at> ellerman.id.au>
AuthorDate: Mon May 6 11:01:05 2013 +1000
Committer:  Takashi Iwai <tiwai <at> suse.de>
CommitDate: Thu May 16 07:19:01 2013 +0200

    ALSA: snd-aoa: Add a layout entry for PowerBook6,5

    Either one or a combination of commits 81e5d86
    "Register i2c devices from device-tree" and 3a3dd01
    "Improve detection of devices from device-tree" broke sound on
    PowerBook6,5 machines.

    Fix it by adding an entry to the new driver to match PowerBook6,5
    machines.

    Signed-off-by: Michael Ellerman <michael <at> ellerman.id.au>
    Acked-by: Benjamin Herrenschmidt <benh <at> kernel.crashing.org>
    Signed-off-by: Takashi Iwai <tiwai <at> suse.de>
---
 sound/aoa/fabrics/layout.c       |    8 ++++++++
 sound/aoa/soundbus/i2sbus/core.c |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c
index 552b97a..61ab640 100644
--- a/sound/aoa/fabrics/layout.c
+++ b/sound/aoa/fabrics/layout.c
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ASoC: da7213: Fix setting dmic_samplephase and dmic_clk_rate

Gitweb:     http://git.kernel.org/linus/;a=commit;h=61559af111e41761f5f4f20ce0897345eb59076e
Commit:     61559af111e41761f5f4f20ce0897345eb59076e
Parent:     c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
Author:     Axel Lin <axel.lin <at> ingics.com>
AuthorDate: Thu May 9 21:14:20 2013 +0800
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Thu May 9 14:29:04 2013 +0100

    ASoC: da7213: Fix setting dmic_samplephase and dmic_clk_rate

    When set dmic_samplephase and dmic_clk_rate bits for dmic_cfg,
    current code checks pdata->dmic_data_sel which is wrong.

    Signed-off-by: Axel Lin <axel.lin <at> ingics.com>
    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
    Cc: stable <at> vger.kernel.org
---
 sound/soc/codecs/da7213.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/da7213.c b/sound/soc/codecs/da7213.c
index 41230ad..4a6f1da 100644
--- a/sound/soc/codecs/da7213.c
+++ b/sound/soc/codecs/da7213.c
 <at>  <at>  -1488,17 +1488,17  <at>  <at>  static int da7213_probe(struct snd_soc_codec *codec)
 				     DA7213_DMIC_DATA_SEL_SHIFT);
 			break;
 		}
-		switch (pdata->dmic_data_sel) {
+		switch (pdata->dmic_samplephase) {
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 16:43

ASoC: wm0010: fix error return code in wm0010_boot()

Gitweb:     http://git.kernel.org/linus/;a=commit;h=2e0192f13c4428bb624838a9cc6713b6237bab3b
Commit:     2e0192f13c4428bb624838a9cc6713b6237bab3b
Parent:     c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
Author:     Wei Yongjun <yongjun_wei <at> trendmicro.com.cn>
AuthorDate: Tue May 7 19:38:52 2013 +0800
Committer:  Mark Brown <broonie <at> opensource.wolfsonmicro.com>
CommitDate: Tue May 7 14:54:08 2013 +0100

    ASoC: wm0010: fix error return code in wm0010_boot()

    Fix to return -ENOMEM in the memory malloc of 'out' and 'img_swap' error
    handling case instead of 0, as done elsewhere in this function.

    Signed-off-by: Wei Yongjun <yongjun_wei <at> trendmicro.com.cn>
    Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm0010.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm0010.c b/sound/soc/codecs/wm0010.c
index ad2fee4..fe5e10f 100644
--- a/sound/soc/codecs/wm0010.c
+++ b/sound/soc/codecs/wm0010.c
 <at>  <at>  -667,6 +667,7  <at>  <at>  static int wm0010_boot(struct snd_soc_codec *codec)
 		/* On wm0010 only the CLKCTRL1 value is used */
 		pll_rec.clkctrl1 = wm0010->pll_clkctrl1;

+		ret = -ENOMEM;
 		len = pll_rec.length + 8;
 		out = kzalloc(len, GFP_KERNEL);
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 04:03

qxl: fix bug with object eviction and update area

Gitweb:     http://git.kernel.org/linus/;a=commit;h=b90ed1e931c4d11cf32710c8a310b603effb5b11
Commit:     b90ed1e931c4d11cf32710c8a310b603effb5b11
Parent:     b2b4465d8bade681491e225fa6a5dc050820b004
Author:     Dave Airlie <airlied <at> redhat.com>
AuthorDate: Thu May 9 05:07:10 2013 +0100
Committer:  Dave Airlie <airlied <at> redhat.com>
CommitDate: Fri May 17 11:45:46 2013 +1000

    qxl: fix bug with object eviction and update area

    if the surface is evicted, this validation will happen
    to the wrong place, I noticed this with other work I was
    doing, haven't seen it go wrong in practice.

    Signed-off-by: Dave Airlie <airlied <at> redhat.com>
---
 drivers/gpu/drm/qxl/qxl_ioctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/qxl/qxl_ioctl.c b/drivers/gpu/drm/qxl/qxl_ioctl.c
index 04b64f9..6db7370 100644
--- a/drivers/gpu/drm/qxl/qxl_ioctl.c
+++ b/drivers/gpu/drm/qxl/qxl_ioctl.c
 <at>  <at>  -294,6 +294,7  <at>  <at>  static int qxl_update_area_ioctl(struct drm_device *dev, void *data,
 		goto out;

 	if (!qobj->pin_count) {
+		qxl_ttm_placement_from_domain(qobj, qobj->type);
 		ret = ttm_bo_validate(&qobj->tbo, &qobj->placement,
 				      true, false);
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 04:03

drm/qxl: fix ioport interactions for kernel submitted commands.

Gitweb:     http://git.kernel.org/linus/;a=commit;h=a6ac1bc341e499ad5296f265dfa8eba5afbf4191
Commit:     a6ac1bc341e499ad5296f265dfa8eba5afbf4191
Parent:     95643359f8b31e74b35901f4e36cd069cd67fd48
Author:     Dave Airlie <airlied <at> redhat.com>
AuthorDate: Tue May 14 02:13:24 2013 +0100
Committer:  Dave Airlie <airlied <at> redhat.com>
CommitDate: Fri May 17 11:45:44 2013 +1000

    drm/qxl: fix ioport interactions for kernel submitted commands.

    So qxl has ioports, but it really really really doesn't want you
    to write to them twice, but if you write and get a signal before
    the irq arrives to let you know its completed, you have to think
    ahead and avoid writing another time.

    However this works fine for update area where really multiple
    writes aren't the end of the world, however with create primary
    surface, you can't ever do multiple writes. So this stop internal
    kernel writes from doing interruptible waits, because otherwise
    we have no idea if this write is a new one or a continuation of
    a previous one.

    virtual hw sucks more than real hw.

    This fixes lockups and VM crashes when resizing and starting/stopping
    X.

    Signed-off-by: Dave Airlie <airlied <at> redhat.com>
---
 drivers/gpu/drm/qxl/qxl_cmd.c |   29 +++++++++++++++++++----------
(Continue reading)

Linux Kernel Mailing List | 17 May 2013 04:03

drm/qxl: drop active_user_framebuffer as its unneeded

Gitweb:     http://git.kernel.org/linus/;a=commit;h=b2b4465d8bade681491e225fa6a5dc050820b004
Commit:     b2b4465d8bade681491e225fa6a5dc050820b004
Parent:     d7292a07a1b3d0b31a54a3e949ed4dd99e9a85e8
Author:     Dave Airlie <airlied <at> gmail.com>
AuthorDate: Mon May 13 12:48:40 2013 +1000
Committer:  Dave Airlie <airlied <at> redhat.com>
CommitDate: Fri May 17 11:45:45 2013 +1000

    drm/qxl: drop active_user_framebuffer as its unneeded

    This was a bogus way to figure out what the active framebuffer was,
    just check if the underlying bo is the primary bo.

    Signed-off-by: Dave Airlie <airlied <at> redhat.com>
---
 drivers/gpu/drm/qxl/qxl_display.c |   16 ++++------------
 drivers/gpu/drm/qxl/qxl_drv.h     |    6 ------
 2 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c
index 735ddd2..823d29e 100644
--- a/drivers/gpu/drm/qxl/qxl_display.c
+++ b/drivers/gpu/drm/qxl/qxl_display.c
 <at>  <at>  -428,10 +428,10  <at>  <at>  static int qxl_framebuffer_surface_dirty(struct drm_framebuffer *fb,
 	int inc = 1;

 	qobj = gem_to_qxl_bo(qxl_fb->obj);
-	if (qxl_fb != qdev->active_user_framebuffer) {
-		DRM_INFO("%s: qxl_fb 0x%p != qdev->active_user_framebuffer 0x%p\n",
-			__func__, qxl_fb, qdev->active_user_framebuffer);
(Continue reading)


Gmane