First pass at 2.6.36-rc1

This commit is contained in:
Kyle McMartin 2010-08-17 16:06:35 -04:00
commit da80d72ece
26 changed files with 262 additions and 14138 deletions

View file

@ -64,26 +64,3 @@ Signed-off-by: Dave Jones <davej@redhat.com>
}
#endif
Some devices (like the nuforce udac) spew this quite a lot.
This patch kinda sucks, but it'll shut things up for now.
Probably not an upstream candidate. I suspect the answer would be
"don't turn SND_DEBUG then"
--- linux-2.6.34.noarch/sound/usb/clock.c~ 2010-07-16 22:11:41.000000000 -0400
+++ linux-2.6.34.noarch/sound/usb/clock.c 2010-07-16 22:15:21.000000000 -0400
@@ -212,8 +212,13 @@ static int set_sample_rate_v1(struct snd
/* if endpoint doesn't have sampling rate control, bail out */
if (!(fmt->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE)) {
- snd_printk(KERN_WARNING "%d:%d:%d: endpoint lacks sample rate attribute bit, cannot set.\n",
+ static int once;
+
+ if (!once) {
+ snd_printk(KERN_WARNING "%d:%d:%d: endpoint lacks sample rate attribute bit, cannot set.\n",
dev->devnum, iface, fmt->altsetting);
+ once = 1;
+ }
return 0;
}