rpms/kernel/F-8 linux-2.6-alsa-hda-fix-waitloop.patch, NONE, 1.1 config-generic, 1.40, 1.41 kernel.spec, 1.296, 1.297

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Tue Dec 11 21:54:28 UTC 2007


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14644

Modified Files:
	config-generic kernel.spec 
Added Files:
	linux-2.6-alsa-hda-fix-waitloop.patch 
Log Message:
* Tue Dec 11 2007 Chuck Ebbert <cebbert at redhat.com> 2.6.23.9-88
- Enable the USB IO-Warrior driver. (#419661)
- ALSA: snd-hda-intel: don't go into polling mode. (#417141)


linux-2.6-alsa-hda-fix-waitloop.patch:

--- NEW FILE linux-2.6-alsa-hda-fix-waitloop.patch ---

# HG changeset patch
# User tiwai
# Date 1195222828 -3600
# Node ID 97fb834c9b22528f9413c6aeab2075f83e0fcaaa
# Parent 1e32bc870695923a64f623c7c70b57284765ae1a
snd hda suspend latency: shorten codec read

not sleeping for every codec read/write but doing a short udelay and
a conditional reschedule has cut suspend+resume latency by about 1
second on my T60.

Signed-off-by: Ingo Molnar <mingo at elte.hu>

--- a/sound/pci/hda/hda_intel.c	Fri Nov 16 11:06:30 2007 +0100
+++ b/sound/pci/hda/hda_intel.c	Fri Nov 16 15:20:28 2007 +0100
@@ -561,7 +561,8 @@ static unsigned int azx_rirb_get_respons
 		}
 		if (!chip->rirb.cmds)
 			return chip->rirb.res; /* the last value */
-		schedule_timeout_uninterruptible(1);
+		udelay(10);
+		cond_resched();
 	} while (time_after_eq(timeout, jiffies));
 
 	if (chip->msi) {



Index: config-generic
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/config-generic,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- config-generic	10 Dec 2007 16:39:14 -0000	1.40
+++ config-generic	11 Dec 2007 21:53:39 -0000	1.41
@@ -2608,7 +2608,7 @@
 CONFIG_USB_RIO500=m
 CONFIG_USB_LCD=m
 CONFIG_USB_BERRY_CHARGE=m
-# CONFIG_USB_IOWARRIOR is not set
+CONFIG_USB_IOWARRIOR=m
 # CONFIG_USB_TEST is not set
 # CONFIG_USB_GADGET is not set
 # CONFIG_USB_GADGET_PXA2XX is not set


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.296
retrieving revision 1.297
diff -u -r1.296 -r1.297
--- kernel.spec	10 Dec 2007 19:04:49 -0000	1.296
+++ kernel.spec	11 Dec 2007 21:53:39 -0000	1.297
@@ -599,6 +599,7 @@
 Patch86: linux-2.6-alsa-support-sis7019.patch
 Patch87: linux-2.6-alsa-hda-stac-dmic.patch
 Patch88: linux-2.6-alsa-drivers-set-device-links.patch
+Patch89: linux-2.6-alsa-hda-fix-waitloop.patch
 
 Patch100: linux-2.6-g5-therm-shutdown.patch
 Patch120: linux-2.6-ppc32-ucmpdi2.patch
@@ -1096,6 +1097,8 @@
 ApplyPatch linux-2.6-alsa-hda-stac-dmic.patch
 # Fix missing controls on some devices caused by missing sysfs links
 ApplyPatch linux-2.6-alsa-drivers-set-device-links.patch
+# Fix wait loop so devices don't go into polling mode
+ApplyPatch linux-2.6-alsa-hda-fix-waitloop.patch
 
 # Nouveau DRM + drm fixes
 ApplyPatch drm-mm-git.patch
@@ -2012,6 +2015,10 @@
 
 
 %changelog
+* Tue Dec 11 2007 Chuck Ebbert <cebbert at redhat.com> 2.6.23.9-88
+- Enable the USB IO-Warrior driver. (#419661)
+- ALSA: snd-hda-intel: don't go into polling mode. (#417141)
+
 * Mon Dec 10 2007 Chuck Ebbert <cebbert at redhat.com> 2.6.23.9-87
 - highres-timers: update to -hrt4 (#394981); includes hang fix
 




More information about the fedora-extras-commits mailing list