diff options
Diffstat (limited to 'linux-2.6-silence-noise.patch')
-rw-r--r-- | linux-2.6-silence-noise.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/linux-2.6-silence-noise.patch b/linux-2.6-silence-noise.patch index d5de8f439..119a97769 100644 --- a/linux-2.6-silence-noise.patch +++ b/linux-2.6-silence-noise.patch @@ -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; - } - |