rpms/kernel/F-10 linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch, NONE, 1.1 kernel.spec, 1.1327, 1.1328

Chuck Ebbert cebbert at fedoraproject.org
Tue Apr 14 13:40:22 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24526

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch 
Log Message:
Fix warnings/errors in USB cdc-acm modem driver (F11#495446)

linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch:

--- NEW FILE linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch ---
USB: cdc-acm: don't set tty low_latency flag

"The hack setting of it for high data rate devices was obsolete when the
tty buffer changes went in so it can definitely go in those cases."
  --Alan Cox

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>

Index: linux-2.6.29.noarch/drivers/usb/class/cdc-acm.c
===================================================================
--- linux-2.6.29.noarch.orig/drivers/usb/class/cdc-acm.c
+++ linux-2.6.29.noarch/drivers/usb/class/cdc-acm.c
@@ -546,10 +546,6 @@ static int acm_tty_open(struct tty_struc
 	tty->driver_data = acm;
 	acm->tty = tty;
 
-	/* force low_latency on so that our tty_push actually forces the data through,
-	   otherwise it is scheduled, and with high data rates data can get lost. */
-	tty->low_latency = 1;
-
 	if (usb_autopm_get_interface(acm->control) < 0)
 		goto early_bail;
 	else


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1327
retrieving revision 1.1328
diff -u -r1.1327 -r1.1328
--- kernel.spec	14 Apr 2009 13:25:02 -0000	1.1327
+++ kernel.spec	14 Apr 2009 13:39:50 -0000	1.1328
@@ -692,6 +692,8 @@
 
 Patch3000: linux-2.6-btrfs-experimental-branch.patch
 
+Patch4000: linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch
+
 # patches headed for -stable
 # fix oops in md raid1 (#495550)
 Patch6000: linux-2.6-md-raid1-dont-assume-new-bvecs-are-init.patch
@@ -1178,6 +1180,7 @@
 ApplyPatch linux-2.6-btrfs-experimental-branch.patch
 
 # USB
+ApplyPatch linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch
 
 # ACPI
 ApplyPatch linux-2.6-defaults-acpi-video.patch
@@ -1887,6 +1890,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Tue Apr 14 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29.1-27
+- Fix warnings/errors in USB cdc-acm modem driver (F11#495446)
+
 * Tue Apr 14 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.29.1-26
 - Timer fixes headed for -stable
 




More information about the fedora-extras-commits mailing list