<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core/seq, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-09-10T13:32:56Z</updated>
<entry>
<title>Merge branch 'topic/midi' into for-linus</title>
<updated>2009-09-10T13:32:56Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2009-09-10T13:32:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0f23c5cc50550f194e71e694f2b4433356dd99ea'/>
<id>urn:sha1:0f23c5cc50550f194e71e694f2b4433356dd99ea</id>
<content type='text'>
* topic/midi:
  sound: rawmidi: disable active-sensing-on-close by default
  sound: seq_oss_midi: remove magic numbers
  sound: seq_midi: do not send MIDI reset when closing
  seq-midi: always log message on output overrun
</content>
</entry>
<entry>
<title>ALSA: OSS sequencer should be initialized after snd_seq_system_client_init</title>
<updated>2009-07-19T17:10:01Z</updated>
<author>
<name>Jaswinder Singh Rajput</name>
</author>
<published>2009-07-19T16:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f96e0808212ca284cc9398d7cd3f573786c1d890'/>
<id>urn:sha1:f96e0808212ca284cc9398d7cd3f573786c1d890</id>
<content type='text'>
When build SND_SEQUENCER in kernel then OSS sequencer(alsa_seq_oss_init)
is initialized before System (snd_seq_system_client_init) which leads to
memory leak :

unreferenced object 0xf6b0e680 (size 256):
  comm "swapper", pid 1, jiffies 4294670753
  backtrace:
    [&lt;c108ac5c&gt;] create_object+0x135/0x204
    [&lt;c108adfe&gt;] kmemleak_alloc+0x26/0x4c
    [&lt;c1087de2&gt;] kmem_cache_alloc+0x72/0xff
    [&lt;c126d2ac&gt;] seq_create_client1+0x22/0x160
    [&lt;c126e3b6&gt;] snd_seq_create_kernel_client+0x72/0xef
    [&lt;c1485a05&gt;] snd_seq_oss_create_client+0x86/0x142
    [&lt;c1485920&gt;] alsa_seq_oss_init+0xf6/0x155
    [&lt;c1001059&gt;] do_one_initcall+0x4f/0x111
    [&lt;c14655be&gt;] kernel_init+0x115/0x166
    [&lt;c10032af&gt;] kernel_thread_helper+0x7/0x10
    [&lt;ffffffff&gt;] 0xffffffff
unreferenced object 0xf688a580 (size 64):
  comm "swapper", pid 1, jiffies 4294670753
  backtrace:
    [&lt;c108ac5c&gt;] create_object+0x135/0x204
    [&lt;c108adfe&gt;] kmemleak_alloc+0x26/0x4c
    [&lt;c1087de2&gt;] kmem_cache_alloc+0x72/0xff
    [&lt;c126f964&gt;] snd_seq_pool_new+0x1c/0xb8
    [&lt;c126d311&gt;] seq_create_client1+0x87/0x160
    [&lt;c126e3b6&gt;] snd_seq_create_kernel_client+0x72/0xef
    [&lt;c1485a05&gt;] snd_seq_oss_create_client+0x86/0x142
    [&lt;c1485920&gt;] alsa_seq_oss_init+0xf6/0x155
    [&lt;c1001059&gt;] do_one_initcall+0x4f/0x111
    [&lt;c14655be&gt;] kernel_init+0x115/0x166
    [&lt;c10032af&gt;] kernel_thread_helper+0x7/0x10
    [&lt;ffffffff&gt;] 0xffffffff
unreferenced object 0xf6b0e480 (size 256):
  comm "swapper", pid 1, jiffies 4294670754
  backtrace:
    [&lt;c108ac5c&gt;] create_object+0x135/0x204
    [&lt;c108adfe&gt;] kmemleak_alloc+0x26/0x4c
    [&lt;c1087de2&gt;] kmem_cache_alloc+0x72/0xff
    [&lt;c12725a0&gt;] snd_seq_create_port+0x51/0x21c
    [&lt;c126de50&gt;] snd_seq_ioctl_create_port+0x57/0x13c
    [&lt;c126d07a&gt;] snd_seq_do_ioctl+0x4a/0x69
    [&lt;c126d0de&gt;] snd_seq_kernel_client_ctl+0x33/0x49
    [&lt;c1485a74&gt;] snd_seq_oss_create_client+0xf5/0x142
    [&lt;c1485920&gt;] alsa_seq_oss_init+0xf6/0x155
    [&lt;c1001059&gt;] do_one_initcall+0x4f/0x111
    [&lt;c14655be&gt;] kernel_init+0x115/0x166
    [&lt;c10032af&gt;] kernel_thread_helper+0x7/0x10
    [&lt;ffffffff&gt;] 0xffffffff

The correct order should be :

System (snd_seq_system_client_init) should be initialized before
OSS sequencer(alsa_seq_oss_init) which is equivalent to :

1. insmod sound/core/seq/snd-seq-device.ko
2. insmod sound/core/seq/snd-seq.ko
3. insmod sound/core/seq/snd-seq-midi-event.ko
4. insmod sound/core/seq/oss/snd-seq-oss.ko

Including sound/core/seq/oss/Makefile after other seq modules
fixes the ordering and memory leak.

Signed-off-by: Jaswinder Singh Rajput &lt;jaswinderrajput@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: rawmidi: disable active-sensing-on-close by default</title>
<updated>2009-07-15T09:57:20Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-07-13T11:52:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d4b842014dc76a81abced47ef27177eedb9deba'/>
<id>urn:sha1:2d4b842014dc76a81abced47ef27177eedb9deba</id>
<content type='text'>
Sending an Active Sensing message when closing a port can interfere with
the following data if the port is reopened and a note-on is sent before
the device's timeout has elapsed.  Therefore, it is better to disable
this setting by default.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: seq_oss_midi: remove magic numbers</title>
<updated>2009-07-15T09:57:08Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-07-13T11:50:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08d033405a5a537d4197dad0fcb6be47062be2a9'/>
<id>urn:sha1:08d033405a5a537d4197dad0fcb6be47062be2a9</id>
<content type='text'>
Instead of using magic numbers for the controlles sent when resetting
a port, use the symbols from asoundef.h.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>sound: seq_midi: do not send MIDI reset when closing</title>
<updated>2009-07-15T09:56:58Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-07-13T11:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b86c87288c2205376ee213d6a03ac9422faf014a'/>
<id>urn:sha1:b86c87288c2205376ee213d6a03ac9422faf014a</id>
<content type='text'>
Sending a MIDI reset message when closing a port is wrong because we
only want to shut the device up, not to reset all settings.
Furthermore, many devices ignore this message.

Fortunately, the RawMIDI layer already shuts the device up, so we can
ignore this matter here.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>seq-midi: always log message on output overrun</title>
<updated>2009-07-15T09:56:06Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-07-13T11:30:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f907ed94f993b0cd366c26eaa88b90c5454203ae'/>
<id>urn:sha1:f907ed94f993b0cd366c26eaa88b90c5454203ae</id>
<content type='text'>
It turns out that the main cause of output buffer overruns is not slow
drivers but applications that generate too many messages.  Therefore, it
makes more sense to make that error message always visible, and to
rate-limit it.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/seq-midi-fix' into for-linus</title>
<updated>2009-06-22T15:03:56Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2009-06-22T15:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f67f6693c82f1cb8edb233f9bd10fa06d27a193'/>
<id>urn:sha1:3f67f6693c82f1cb8edb233f9bd10fa06d27a193</id>
<content type='text'>
* topic/seq-midi-fix:
  sound: seq_midi_event: fix decoding of (N)RPN events
</content>
</entry>
<entry>
<title>sound: seq_midi_event: fix decoding of (N)RPN events</title>
<updated>2009-06-22T09:11:49Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2009-06-22T08:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6423f9ea8035138d70bae1a278d3b57b743f8b3e'/>
<id>urn:sha1:6423f9ea8035138d70bae1a278d3b57b743f8b3e</id>
<content type='text'>
When decoding (N)RPN sequencer events into raw MIDI commands, the
extra_decode_xrpn() function had accidentally swapped the MSB and LSB
controller values of both the parameter number and the data value.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: clean up the logic for building sequencer modules</title>
<updated>2009-05-29T09:49:42Z</updated>
<author>
<name>Michal Marek</name>
</author>
<published>2009-05-26T15:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0528c7494e67c30329d086df141d2dd691f01556'/>
<id>urn:sha1:0528c7494e67c30329d086df141d2dd691f01556</id>
<content type='text'>
Instead of mangling the CONFIG_* variables in the makefiles over and
over, set a few helper variables in Kconfig.

Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sound/core: use memdup_user()</title>
<updated>2009-04-14T10:39:12Z</updated>
<author>
<name>Li Zefan</name>
</author>
<published>2009-04-10T01:43:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef44a1ec6eeef189998f84e7230e1d3535b01074'/>
<id>urn:sha1:ef44a1ec6eeef189998f84e7230e1d3535b01074</id>
<content type='text'>
Remove open-coded memdup_user().

Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
