<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/core, branch linux-2.6.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-10-17T19:30:28Z</updated>
<entry>
<title>[PATCH] Convert snd-page-alloc proc file to use seq_file</title>
<updated>2007-10-17T19:30:28Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2007-09-17T19:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fe3251c23d437460c8e48eb50925a643f0ccf32'/>
<id>urn:sha1:2fe3251c23d437460c8e48eb50925a643f0ccf32</id>
<content type='text'>
Use seq_file for the proc file read/write of snd-page-alloc module.
This automatically fixes bugs in the old proc code.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ALSA: Fix sysfs breakage</title>
<updated>2007-01-29T22:32:53Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2007-01-26T11:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d2aae1e88660cf09be913e9754e45189dc33412'/>
<id>urn:sha1:7d2aae1e88660cf09be913e9754e45189dc33412</id>
<content type='text'>
The recent change for a new sysfs tree with card* object breaks the
/sys/class/sound tree if CONFIG_SYSFS_DEPRECATED is enabled.
The device in each entry doesn't point the correct device object:

  /sys/class/sound
  ...
  |-- pcmC0D0c
  |   |-- dev
  |   |-- device -&gt; ../../../class/sound/card0
  |   |-- pcm_class
  |   |-- power
  |   |   `-- wakeup
  |   |-- subsystem -&gt; ../../../class/sound
  |   `-- uevent

Also, this change breaks some drivers (like sound/arm/*) referring
card-&gt;dev directly to obtain the device object for memory handling.

This patch reverts the semantics of card-&gt;dev to the former version,
which points to a real device object.  The card* object is stored in a
new card-&gt;card_dev field, instead.  The device parent is chosen either
card-&gt;dev or card-&gt;card_dev according to CONFIG_SYSFS_DEPRECATED to
keep the tree compatibility.
Also, card* isn't created if CONFIG_SYSFS_DEPRECATED is enabled.  The
reason of card* object is a root of all beloing devices, and it makes
little sense if each sound device points to the real device object
directly.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Acked-by: Monty Montgomery &lt;xiphmont@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[ALSA] sound: fix PCM substream list</title>
<updated>2006-12-20T07:56:00Z</updated>
<author>
<name>Akinobu Mita</name>
</author>
<published>2006-11-23T11:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d361285925613516560f81f8c7fc96b89c8b1a8'/>
<id>urn:sha1:4d361285925613516560f81f8c7fc96b89c8b1a8</id>
<content type='text'>
If snd_pcm_new_stream() fails to initalize a substream (if
snd_pcm_substream_proc_init() returns error), snd_pcm_new_stream()
immediately return without unlinking that kfree()d substram.
It causes oops when snd_pcm_free() iterates the list of substream to
free them by invalid reference.

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] sound: initialize rawmidi substream list</title>
<updated>2006-12-20T07:55:59Z</updated>
<author>
<name>Akinobu Mita</name>
</author>
<published>2006-11-23T11:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c13893d7be4f159b359a1b7ee46b3646ecb2fe20'/>
<id>urn:sha1:c13893d7be4f159b359a1b7ee46b3646ecb2fe20</id>
<content type='text'>
If snd_rawmidi_new() failed to allocate substreams for input
(snd_rawmidi_alloc_substreams() failed to populate a
&amp;rmidi-&gt;streams[SNDRV_RAWMIDI_STREAM_INPUT]), it will try to
free rawmidi instance by snd_rawmidi_free().
But it will cause oops because snd_rawmidi_free() tries to free
both of substreams list but list for output
(&amp;rmidi-&gt;streams[SNDRV_RAWMIDI_STREAM_OUTPUT]) is not initialized yet.

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] Fix races in PCM OSS emulation</title>
<updated>2006-12-20T07:55:54Z</updated>
<author>
<name>Takashi Iwai</name>
</author>
<published>2006-11-14T12:03:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43'/>
<id>urn:sha1:e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43</id>
<content type='text'>
Fixed the race among multiple threads accessing the OSS PCM
instance concurrently by simply introducing a mutex for protecting
a setup of the PCM.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] sound/core/control.c: remove dead code</title>
<updated>2006-12-20T07:55:46Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2006-11-07T12:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e5d720ced4111cc75dd8cf66ab7b68607a0b306'/>
<id>urn:sha1:0e5d720ced4111cc75dd8cf66ab7b68607a0b306</id>
<content type='text'>
This patch removes some obviously dead code spotted by the Coverity
checker.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] pcm core: fix silence_start calculations</title>
<updated>2006-12-20T07:55:43Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2006-10-23T14:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a826ddba6e087b1be24dd78cd0eac42f7eb7e97'/>
<id>urn:sha1:9a826ddba6e087b1be24dd78cd0eac42f7eb7e97</id>
<content type='text'>
The case where silence_size &lt; boundary was broken because different
parts of the snd_pcm_playback_silence() function disagreed about whether
silence_start should point to the start or to the end of the buffer part
to be silenced.
This patch changes the code to always use to the start, which also
simplifies several calculations.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] use the roundup macro</title>
<updated>2006-12-20T07:55:37Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2006-10-09T06:14:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=201efe3793b0faab3538a463ad6d63cf0ef4403c'/>
<id>urn:sha1:201efe3793b0faab3538a463ad6d63cf0ef4403c</id>
<content type='text'>
Use the roundup macro instead of manual calculations.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[ALSA] use the ALIGN macro</title>
<updated>2006-12-20T07:55:36Z</updated>
<author>
<name>Clemens Ladisch</name>
</author>
<published>2006-10-09T06:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ab399262ee636d19db5163a35ac406d5b892a0a'/>
<id>urn:sha1:7ab399262ee636d19db5163a35ac406d5b892a0a</id>
<content type='text'>
Use the ALIGN macro instead of manual calculations.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Jaroslav Kysela &lt;perex@suse.cz&gt;
</content>
</entry>
<entry>
<title>[PATCH] getting rid of all casts of k[cmz]alloc() calls</title>
<updated>2006-12-13T17:05:58Z</updated>
<author>
<name>Robert P. J. Day</name>
</author>
<published>2006-12-13T08:35:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cbded585d129d0226cb48ac4202b253c781be26'/>
<id>urn:sha1:5cbded585d129d0226cb48ac4202b253c781be26</id>
<content type='text'>
Run this:

	#!/bin/sh
	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
	  echo "De-casting $f..."
	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
	done

And then go through and reinstate those cases where code is casting pointers
to non-pointers.

And then drop a few hunks which conflicted with outstanding work.

Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;, Ian Molton &lt;spyro@f2s.com&gt;
Cc: Mikael Starvik &lt;starvik@axis.com&gt;
Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Kyle McMartin &lt;kyle@mcmartin.ca&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Paul Fulghum &lt;paulkf@microgate.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Karsten Keil &lt;kkeil@suse.de&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
Cc: Jeff Garzik &lt;jeff@garzik.org&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Cc: Ian Kent &lt;raven@themaw.net&gt;
Cc: Steven French &lt;sfrench@us.ibm.com&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Cc: Jaroslav Kysela &lt;perex@suse.cz&gt;
Cc: Takashi Iwai &lt;tiwai@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
