Hello community,

here is the log from the commit of package alsa for openSUSE:12.2 checked in at 
2012-08-04 08:59:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2/alsa (Old)
 and      /work/SRC/openSUSE:12.2/.alsa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa", Maintainer is "ti...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:12.2/alsa/alsa.changes   2012-07-02 10:42:56.000000000 
+0200
+++ /work/SRC/openSUSE:12.2/.alsa.new/alsa.changes      2012-08-04 
09:00:00.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Jul  5 10:11:35 CEST 2012 - ti...@suse.de
+
+- Fix useless assert in hctl, backport from upstream
+
+-------------------------------------------------------------------

New:
----
  0016-hctl-Remove-a-useless-assert.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa.spec ++++++
--- /var/tmp/diff_new_pack.mOml95/_old  2012-08-04 09:00:09.000000000 +0200
+++ /var/tmp/diff_new_pack.mOml95/_new  2012-08-04 09:00:09.000000000 +0200
@@ -68,6 +68,7 @@
 Patch13:        0013-tlv-improve-robustness-of-raw-value-ranges.patch
 Patch14:        0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch
 Patch15:        0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch
+Patch16:        0016-hctl-Remove-a-useless-assert.patch
 Patch99:        alsa-lib-doxygen-avoid-crash-for-11.3.diff
 Url:            http://www.alsa-project.org/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -133,6 +134,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 %if %suse_version == 1130
 %patch99 -p1
 %endif

++++++ 0016-hctl-Remove-a-useless-assert.patch ++++++
>From 86e27cdbf119440101a850e1b44baebfefe863ca Mon Sep 17 00:00:00 2001
From: Martin Sandsmark <martin.sandsm...@kde.org>
Date: Thu, 5 Jul 2012 09:40:07 +0200
Subject: [PATCH] hctl: Remove a useless assert

The case where the element is unavailable (for example gone away since
the event was created) is handled beneath.

See also bug 5471.
        https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5471

Signed-off-by: Takashi Iwai <ti...@suse.de>
---
 src/control/hcontrol.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/control/hcontrol.c b/src/control/hcontrol.c
index 8ffc434..ee1d907 100644
--- a/src/control/hcontrol.c
+++ b/src/control/hcontrol.c
@@ -761,7 +761,6 @@ static int snd_hctl_handle_event(snd_hctl_t *hctl, 
snd_ctl_event_t *event)
        if (event->data.elem.mask & (SNDRV_CTL_EVENT_MASK_VALUE |
                                     SNDRV_CTL_EVENT_MASK_INFO)) {
                elem = snd_hctl_find_elem(hctl, &event->data.elem.id);
-               assert(elem);
                if (!elem)
                        return -ENOENT;
                res = snd_hctl_elem_throw_event(elem, event->data.elem.mask &
-- 
1.7.10.4




-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to