rpms/kernel/devel kernel.spec, 1.2078, 1.2079 linux-2.6-silence-noise.patch, 1.22, 1.23
Dave Jones
davej at fedoraproject.org
Sat Jul 17 02:35:42 UTC 2010
Author: davej
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23234
Modified Files:
kernel.spec linux-2.6-silence-noise.patch
Log Message:
Limit some alsa spew that the nuforce udac makes happen a lot.
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.2078
retrieving revision 1.2079
diff -u -p -r1.2078 -r1.2079
--- kernel.spec 16 Jul 2010 21:21:55 -0000 1.2078
+++ kernel.spec 17 Jul 2010 02:35:41 -0000 1.2079
@@ -1859,6 +1859,9 @@ fi
# || ||
%changelog
+* Fri Jul 16 2010 Dave Jones <davej at redhat.com>
+- Limit some alsa spew that the nuforce udac makes happen a lot.
+
* Fri Jul 16 2010 Jarod Wilson <jarod at redhat.com> 2.6.35-0.41.rc5.git1
- Pull in ir-core update from v4l/dvb staging for 2.6.36, which includes
new in-kernel lirc_dev and ir-core mceusb driver
linux-2.6-silence-noise.patch:
b/drivers/input/serio/i8042.c | 5 +----
linux-2.6.26.noarch/drivers/base/power/main.c | 3 ---
linux-2.6.27.noarch/net/can/af_can.c | 8 ++------
linux-2.6.34.noarch/sound/usb/clock.c | 7 ++++++-
4 files changed, 9 insertions(+), 14 deletions(-)
Index: linux-2.6-silence-noise.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-silence-noise.patch,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- linux-2.6-silence-noise.patch 11 Dec 2008 21:56:56 -0000 1.22
+++ linux-2.6-silence-noise.patch 17 Jul 2010 02:35:41 -0000 1.23
@@ -64,3 +64,26 @@ Signed-off-by: Dave Jones <davej at redhat.
}
#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;
+ }
+
More information about the scm-commits
mailing list