<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/sound/usb, branch v3.15</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.kobert.dev/pm24.git/atom/sound/usb?h=v3.15</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom/sound/usb?h=v3.15'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2014-05-02T16:21:55Z</updated>
<entry>
<title>ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data</title>
<updated>2014-05-02T16:21:55Z</updated>
<author>
<name>Clemens Ladisch</name>
<email>clemens@ladisch.de</email>
</author>
<published>2014-05-01T10:20:22Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=7040b6d1febfdbd9c1595efb751d492cd2503f96'/>
<id>urn:sha1:7040b6d1febfdbd9c1595efb751d492cd2503f96</id>
<content type='text'>
The TEAC UD-H01 firmware sends wrong feedback frequency values, thus
causing the PC to send the samples at a wrong rate, which results in
clicks and crackles in the output.

Add a workaround to detect and fix the corruption.

Signed-off-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
[mick37@gmx.de: use sender-&gt;udh01_fb_quirk rather than
 ep-&gt;udh01_fb_quirk in snd_usb_handle_sync_urb()]
Reported-and-tested-by: Mick &lt;mick37@gmx.de&gt;
Reported-and-tested-by: Andrea Messa &lt;andr.messa@tiscali.it&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Fix deadlocks at resuming</title>
<updated>2014-05-02T16:17:06Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-05-02T16:17:06Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=1ee23fe07ee83a38ecee927e701f762888ada942'/>
<id>urn:sha1:1ee23fe07ee83a38ecee927e701f762888ada942</id>
<content type='text'>
The recent addition of the USB audio mixer suspend/resume may lead to
deadlocks when the driver tries to call usb_autopm_get_interface()
recursively, since the function tries to sync with the finish of the
other calls.  For avoiding it, introduce a flag indicating the resume
operation and avoids the recursive usb_autopm_get_interface() calls
during the resume.

Reported-and-tested-by: Bryan Quigley &lt;gquigs@gmail.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Save mixer status only once at suspend</title>
<updated>2014-05-02T16:14:42Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-05-02T16:14:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=1c53e7253ed8769a00afa0f06777d731dbe1ba6f'/>
<id>urn:sha1:1c53e7253ed8769a00afa0f06777d731dbe1ba6f</id>
<content type='text'>
The suspend callback of usb-audio driver may be called multiple times
per suspend when multiple USB interfaces are bound to a single sound
card instance.  In such a case, it's superfluous to save the mixer
values multiple times.  This patch fixes it by checking the counter.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined</title>
<updated>2014-05-02T16:10:59Z</updated>
<author>
<name>Sander Eikelenboom</name>
<email>linux@eikelenboom.it</email>
</author>
<published>2014-05-02T13:09:27Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=b7a7723513dc89f83d6df13206df55d4dc26e825'/>
<id>urn:sha1:b7a7723513dc89f83d6df13206df55d4dc26e825</id>
<content type='text'>
This (widely used) construction:

if(printk_ratelimit())
	dev_dbg()

Causes the ratelimiting to spam the kernel log with the "callbacks suppressed"
message below, even while the dev_dbg it is supposed to rate limit wouldn't
print anything because DEBUG is not defined for this device.

[  533.803964] retire_playback_urb: 852 callbacks suppressed
[  538.807930] retire_playback_urb: 852 callbacks suppressed
[  543.811897] retire_playback_urb: 852 callbacks suppressed
[  548.815745] retire_playback_urb: 852 callbacks suppressed
[  553.819826] retire_playback_urb: 852 callbacks suppressed

So use dev_dbg_ratelimited() instead of this construction.

Signed-off-by: Sander Eikelenboom &lt;linux@eikelenboom.it&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Suppress repetitive debug messages from retire_playback_urb()</title>
<updated>2014-04-09T19:07:38Z</updated>
<author>
<name>Tim Gardner</name>
<email>tim.gardner@canonical.com</email>
</author>
<published>2014-04-09T17:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a5065eb6da55b226661456e6a7435f605df98111'/>
<id>urn:sha1:a5065eb6da55b226661456e6a7435f605df98111</id>
<content type='text'>
BugLink: http://bugs.launchpad.net/bugs/1305133

Malfunctioning or slow devices can cause a flood of dmesg SPAM.

I've ignored checkpatch.pl complaints about the use of printk_ratelimit() in favour
of prior art in sound/usb/pcm.c.

WARNING: Prefer printk_ratelimited or pr_&lt;level&gt;_ratelimited to printk_ratelimit
+	if (printk_ratelimit() &amp;&amp;

Cc: Jaroslav Kysela &lt;perex@perex.cz&gt;
Cc: Takashi Iwai &lt;tiwai@suse.de&gt;
Cc: Eldad Zack &lt;eldad@fogrefinery.com&gt;
Cc: Daniel Mack &lt;zonque@gmail.com&gt;
Cc: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Signed-off-by: Tim Gardner &lt;tim.gardner@canonical.com&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge tag 'asoc-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next</title>
<updated>2014-03-13T08:53:25Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-03-13T08:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=5fdb83f190ee2218d113a46b190b70aa1c979325'/>
<id>urn:sha1:5fdb83f190ee2218d113a46b190b70aa1c979325</id>
<content type='text'>
ASoC: Updates for v3.15

Quite a busy release for ASoC this time, more on janitorial work than
exciting new features but welcome nontheless:

 - Lots of cleanups from Takashi for enumerations; the original API for
   these was error prone so he's refactored lots of code to use more
   modern APIs which avoid issues.
 - Elimination of the ASoC level wrappers for I2C and SPI moving us
   closer to converting to regmap completely and avoiding some
   randconfig hassle.
 - Provide both manually and transparently locked DAPM APIs rather than
   a mix of the two fixing some concurrency issues.
 - Start converting CODEC drivers to use separate bus interface drivers
   rather than having them all in one file helping avoid dependency
   issues.
 - DPCM support for Intel Haswell and Bay Trail platforms.
 - Lots of work on improvements for simple-card, DaVinci and the Renesas
   rcar drivers.
 - New drivers for Analog Devices ADAU1977, TI PCM512x and parts of the
   CSR SiRF SoC.
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Add quirk for Logitech Webcam C500</title>
<updated>2014-03-05T11:37:15Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-03-05T11:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e805ca8b0a9b6c91099c0eaa4b160a1196a4ae25'/>
<id>urn:sha1:e805ca8b0a9b6c91099c0eaa4b160a1196a4ae25</id>
<content type='text'>
Logitech C500 (046d:0807) needs the same workaround like other
Logitech Webcams.

Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'topic/cvt-dev-prints' into for-next</title>
<updated>2014-02-28T10:54:43Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-02-28T10:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=2b9e4a73fbd90cb8459cf84c12ae05d2eb81da41'/>
<id>urn:sha1:2b9e4a73fbd90cb8459cf84c12ae05d2eb81da41</id>
<content type='text'>
This merges the bunch of changes over pci and usb sound drivers to
convert to dev_err() and co.
</content>
</entry>
<entry>
<title>ALSA: 6fire: Use standard printk helpers</title>
<updated>2014-02-26T16:22:09Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-02-26T14:51:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e3b3757b92a4df4addff74e179438afbfd8bb643'/>
<id>urn:sha1:e3b3757b92a4df4addff74e179438afbfd8bb643</id>
<content type='text'>
Convert with dev_err() and co from snd_printk(), etc.

Signed-off-by: Takashi Iwai &lt;tiwai@suse.de&gt;
</content>
</entry>
<entry>
<title>ALSA: usb-audio: Use standard printk helpers</title>
<updated>2014-02-26T15:45:34Z</updated>
<author>
<name>Takashi Iwai</name>
<email>tiwai@suse.de</email>
</author>
<published>2014-02-26T12:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=0ba41d917eeb87f608cf147f870ff2f4c1056bab'/>
<id>urn:sha1:0ba41d917eeb87f608cf147f870ff2f4c1056bab</id>
<content type='text'>
Convert with dev_err() and co from snd_printk(), etc.
As there are too deep indirections (e.g. ep-&gt;chip-&gt;dev-&gt;dev),
a few new local macros, usb_audio_err() &amp; co, are introduced.

Also, the device numbers in some messages are dropped, as they are
shown in the prefix automatically.

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