SOURCES: alsa-driver-ppc.patch (NEW) - fix reject

qboosh qboosh at pld-linux.org
Mon Aug 1 20:15:19 CEST 2005


Author: qboosh                       Date: Mon Aug  1 18:15:18 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix reject

---- Files affected:
SOURCES:
   alsa-driver-ppc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/alsa-driver-ppc.patch
diff -u /dev/null SOURCES/alsa-driver-ppc.patch:1.1
--- /dev/null	Mon Aug  1 20:15:18 2005
+++ SOURCES/alsa-driver-ppc.patch	Mon Aug  1 20:15:13 2005
@@ -0,0 +1,24 @@
+--- alsa-driver-1.0.9a/ppc/tumbler.patch.orig	2004-08-16 17:21:26.000000000 +0000
++++ alsa-driver-1.0.9a/ppc/tumbler.patch	2005-07-30 22:40:14.000000000 +0000
+@@ -18,17 +18,17 @@
+  static void
+  device_change_handler(void *self)
+ @@ -895,7 +900,11 @@
+- 
+- 		/* finally we need to schedule an update of the mixer values
+- 		   (master and DRC are enough for now) -ReneR */
++ 		mix = chip->mixer_data;
++ 		snd_assert(mix, return);
++ 		mix->auto_mute_notify = do_notify;
+ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+ +		schedule_task(&device_change);
+ +#else
+  		schedule_work(&device_change);
+ +#endif
+- 
+  	}
+  }
++ #endif /* PMAC_SUPPORT_AUTOMUTE */
+ @@ -1156,7 +1165,11 @@
+  	chip->resume = tumbler_resume;
+  #endif
================================================================



More information about the pld-cvs-commit mailing list