rpms/kernel/F-11 linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch, NONE, 1.1 kernel.spec, 1.1538, 1.1539
Chuck Ebbert
cebbert at fedoraproject.org
Tue Apr 14 13:46:38 UTC 2009
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27626
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 (#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-11/kernel.spec,v
retrieving revision 1.1538
retrieving revision 1.1539
diff -u -r1.1538 -r1.1539
--- kernel.spec 14 Apr 2009 13:04:59 -0000 1.1538
+++ kernel.spec 14 Apr 2009 13:46:36 -0000 1.1539
@@ -714,6 +714,8 @@
Patch3010: linux-2.6-relatime-by-default.patch
Patch3020: linux-2.6-fiemap-header-install.patch
+Patch4000: linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch
+
Patch5000: linux-2.6-add-qcserial.patch
# patches headed for -stable
@@ -1196,6 +1198,7 @@
# USB
ApplyPatch linux-2.6-add-qcserial.patch
+ApplyPatch linux-2.6-usb-cdc-acm-remove-low-latency-flag.patch
# ACPI
ApplyPatch linux-2.6-defaults-acpi-video.patch
@@ -1946,6 +1949,9 @@
%changelog
* Tue Apr 14 2009 Chuck Ebbert <cebbert at redhat.com>
+- Fix warnings/errors in USB cdc-acm modem driver (#495446)
+
+* Tue Apr 14 2009 Chuck Ebbert <cebbert at redhat.com>
- Timer fixes headed for -stable
* Tue Apr 14 2009 Chuck Ebbert <cebbert at redhat.com>
More information about the fedora-extras-commits
mailing list