<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/sound/core, branch v3.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.kobert.dev/pm24.git/atom/sound/core?h=v3.0</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom/sound/core?h=v3.0'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2011-06-10T13:35:20Z</updated>
<entry>
<title>ALSA: Use %pV for snd_printk()</title>
<updated>2011-06-10T13:35:20Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-06-10T13:32:31Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=890ee02ac12c02c4712b6d7dd062ff4d6d37691c'/>
<id>urn:sha1:890ee02ac12c02c4712b6d7dd062ff4d6d37691c</id>
<content type='text'>
Clean up snd_printk() helper using the %pV prefix for recursive printks.
This also automagically fixes an Oops with RO/NX-enabled modules.

Tested-by: Maarten Lankhorst &lt;m.b.lankhorst@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: core: remove unused variables.</title>
<updated>2011-05-26T06:19:04Z</updated>
<author>
<name>Luca Tettamanti</name>
<email>kronos.it@gmail.com</email>
</author>
<published>2011-05-25T20:43:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=78fa2c4d2465d014e67d3e12d948425856587251'/>
<id>urn:sha1:78fa2c4d2465d014e67d3e12d948425856587251</id>
<content type='text'>
Drop a few variables that are never read.

Signed-off-by: Luca Tettamanti &lt;kronos.it@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: PCM - Don't check DMA time-out too shortly</title>
<updated>2011-05-26T06:09:38Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-05-26T06:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=f2b3614cefb61ee6046a0aaee503ee37f227d310'/>
<id>urn:sha1:f2b3614cefb61ee6046a0aaee503ee37f227d310</id>
<content type='text'>
When the PCM period size is set larger than 10 seconds, currently the
PCM core may abort the operation with DMA-error due to the fixed timeout
for 10 seconds.  A similar problem is seen in the drain operation that
has a fixed timeout of 10 seconds, too.

This patch fixes the timeout length depending on the period size and
rate, also including the consideration of no_period_wakeup flag.

Reported-by: Raymond Yau &lt;superquad.vortex2@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/misc' into for-linus</title>
<updated>2011-05-22T08:01:29Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-05-22T08:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=02e5fbf622aabf68bdc02282a17a3aeed054237a'/>
<id>urn:sha1:02e5fbf622aabf68bdc02282a17a3aeed054237a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ALSA: sound, core, pcm_lib: fix xrun_log</title>
<updated>2011-05-19T05:18:56Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-05-19T03:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=217658f46c2dbfe260f8f5976f2a201911a2f4c6'/>
<id>urn:sha1:217658f46c2dbfe260f8f5976f2a201911a2f4c6</id>
<content type='text'>
The xrun_log function was augmented with the in_interrupt parameter whereas the
empty macro definition used when xrun logging is disabled was not.

Add a third parameter to the empty macro definition so as to not cause compiler
errors when xrun logging (CONFIG_SND_PCM_XRUN_DEBUG) is disabled.

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: sound, core, pcm_lib: xrun_log: log also in_interrupt</title>
<updated>2011-05-18T15:12:39Z</updated>
<author>
<name>Ben Gardiner</name>
<email>bengardiner@nanometrics.ca</email>
</author>
<published>2011-05-18T14:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=ec08b14483de0702ca43e3a8506e149486975f9b'/>
<id>urn:sha1:ec08b14483de0702ca43e3a8506e149486975f9b</id>
<content type='text'>
When debugging pcm drivers I found the "period" or "hw" prefix printed
by either XRUN_DEBUG_PERIODUPDATE or XRUN_DEBUG_PERIODUPDATE events,
respectively to be very useful is observing the interplay between
interrupt-context updates and syscall-context updates.

Similarly, when debugging overruns with XRUN_DEBUG_LOG it is useful to
see the context of the last 10 positions.

Add an in_interrupt member to hwptr_log_entry which stores the value of
the in_interrupt parameter of snd_pcm_update_hw_ptr0 when the log entry
is created. Print a "[Q]" prefix when dumping the log entries if
in_interrupt was true.

Signed-off-by: Ben Gardiner &lt;bengardiner@nanometrics.ca&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6</title>
<updated>2011-04-07T18:14:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-04-07T18:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=42933bac11e811f02200c944d8562a15f8ec4ff0'/>
<id>urn:sha1:42933bac11e811f02200c944d8562a15f8ec4ff0</id>
<content type='text'>
* 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6:
  Fix common misspellings
</content>
</entry>
<entry>
<title>ALSA: core - Don't use "default' for default</title>
<updated>2011-04-04T10:43:23Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-04-04T10:43:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=d8e4f9aed82c68b60f81b2e7977c46868d51062f'/>
<id>urn:sha1:d8e4f9aed82c68b60f81b2e7977c46868d51062f</id>
<content type='text'>
The card-id parser assigns the string "default" when no appropriate word
is found in the card name.  But this string may confuse the alsa-lib, so
better to avoid.  Use "Default" now instead.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix/misc' into topic/misc</title>
<updated>2011-04-04T10:21:55Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2011-04-04T10:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=17fbb5bdfc93bc205e5f5d1e2b5b92fdfd694c68'/>
<id>urn:sha1:17fbb5bdfc93bc205e5f5d1e2b5b92fdfd694c68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ALSA: pcm: fix infinite loop in snd_pcm_update_hw_ptr0()</title>
<updated>2011-04-01T16:01:23Z</updated>
<author>
<name>Kelly Anderson</name>
<email>kelly@silka.with-linux.com</email>
</author>
<published>2011-04-01T09:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=12ff414e2e4512f59fe191dc18e856e2939a1c79'/>
<id>urn:sha1:12ff414e2e4512f59fe191dc18e856e2939a1c79</id>
<content type='text'>
When period interrupts are disabled, snd_pcm_update_hw_ptr0() compares
the current time against the time estimated for the current hardware
pointer to detect xruns.  The somewhat fuzzy threshold in the while loop
makes it possible that hdelta becomes negative; the comparison being
done with unsigned types then makes the loop go through the entire 263
negative range, and, depending on the value, never reach an unsigned
value that is small enough to stop the loop.  Doing this with interrupts
disabled results in the machine locking up.

To prevent this, ensure that the loop condition uses signed types for
both operands so that the comparison is correctly done.

Many thanks to Kelly Anderson for debugging this.

Reported-by: Nix &lt;nix@esperi.org.uk&gt;
Reported-by: "Christopher K." &lt;c.krooss@googlemail.com&gt;
Reported-and-tested-by: Kelly Anderson &lt;kelly@silka.with-linux.com&gt;
Signed-off-by: Kelly Anderson &lt;kelly@silka.with-linux.com&gt;
[cl: remove unneeded casts; use a temp variable]
Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: 2.6.38 &lt;stable@kernel.org&gt;

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
</feed>
