diff options
author | Kyle McMartin <kyle@dreadnought.i.jkkm.org> | 2010-08-17 16:06:35 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@dreadnought.i.jkkm.org> | 2010-08-17 16:07:07 -0400 |
commit | da80d72ecea221386e6642122ab332f2aaa457ce (patch) | |
tree | c3641cd7e7701ae4646367c395e8569aeafb5d35 /linux-2.6-silence-noise.patch | |
parent | c7a89c25e0dbac3f4d1e2f40ae910f71ebd224b6 (diff) | |
download | kernel-da80d72ecea221386e6642122ab332f2aaa457ce.tar.gz kernel-da80d72ecea221386e6642122ab332f2aaa457ce.tar.xz kernel-da80d72ecea221386e6642122ab332f2aaa457ce.zip |
First pass at 2.6.36-rc1
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; - } - |