Commits

Christos Nouskas committed fa1c8c7

3.5.4-1

Comments (0)

Files changed (2)

 _basekernel=${_major}.${_minor}
 _pkgname=linux-pf
 pkgbase=${_pkgname}
-_pfrel=3
+_pfrel=4
 _kernelname=-pf
 _pfpatchhome="http://pf.natalenko.name/sources/${_basekernel}/"
 _pfpatchname="patch-${_basekernel}.${_pfrel}${_kernelname}"
 pkgname=('linux-pf')
 true && pkgname=('linux-pf' 'linux-pf-headers')
 pkgver=${_basekernel}.${_pfrel}
-pkgrel=5
+pkgrel=1
 arch=('i686' 'x86_64')
 url="http://pf.natalenko.name/"
 license=('GPL2')
 	'channel-negative-one-maxim.patch'	# hopefully fix "channel -1" aireplay-ng error
 	"interactive-governor.tar.gz::https://gist.github.com/gists/1172524/download"
         'change-default-console-loglevel.patch'
-        'alsa-powersave-3.5.x.patch'
+#        'alsa-powersave-3.5.x.patch'
         'watchdog-3.5.x.patch'
         'i915-i2c-crash-3.5.x.patch'
 	"${_pfpatchhome}${_pfpatchname}.bz2")	# the -pf patchset
 
   # fix alsa powersave bug, probably fixed in 3.5.4
   # https://bugs.archlinux.org/task/31255
-  patch -Np1 -i  "${srcdir}/alsa-powersave-3.5.x.patch"
+  #patch -Np1 -i  "${srcdir}/alsa-powersave-3.5.x.patch"
 
   # fix broken watchdog
   # https://bugzilla.kernel.org/show_bug.cgi?id=44991
     echo "=============================================================="
     read answer
     shopt -s nocasematch
-    if [[ "$answer" != "g" ]]; then
        export _PKGOPT=y
-    fi
   fi
 fi	# batch check ends here
 export CPU
   mv "$pkgdir/lib" "$pkgdir/usr"
 
   # Now we call depmod...
-  depmod -b "$pkgdir" -F System.map "$_kernver"
+  depmod -b "$pkgdir/usr" -F System.map "$_kernver"
 
 # end c/p
 
             '19f7fc0753636c32026e444e23bd101bd21cfeb59661284678bf157dc35212f2'
             'd537a358c9f8b9cbcad34ba99f88af070f54d99c66d3e5d3d4734576ed2fb6e1'
             'b9d79ca33b0b51ff4f6976b7cd6dbb0b624ebf4fbf440222217f8ffc50445de4'
-            'bab85b2bb775d9db4585336707cd619fe1cfd8c5959368a5642a0f9c13acf0b8'
             '3b285aa62940908ef9dd2a72f81c28fd2c8102367188ef349509ff0f7d7f4fa8'
             'bc9be7e4e5bc81aa30754a96f6a94c2e6eb6a147165a2ac50972c1fd59ef9964'
-            '686af57ec415f395a3eb9e7e6cf2fbf59caf7a5d6a29136213abe1f25caa0406')
+            '16424a61130244802cc01112af2cc1e49be8e152bc9d236c9298d9f4edac2cef')

alsa-powersave-3.5.x.patch

-From: Takashi Iwai <tiwai@suse.de>
-Date: Mon, 20 Aug 2012 19:25:22 +0000 (+0200)
-Subject: ALSA: hda - Fix leftover codec->power_transition
-X-Git-Tag: v3.6-rc3~14^2~1
-X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux.git;a=commitdiff_plain;h=535b6c51fe8293c88ce919cdfc4390c67a1cb6d1
-
-ALSA: hda - Fix leftover codec->power_transition
-
-When the codec turn-on operation is canceled by the immediate
-power-on, the driver left the power_transition flag as is.
-This caused the persistent avoidance of power-save behavior.
-
-Cc: <stable@vger.kernel.org> [v3.5+]
-Signed-off-by: Takashi Iwai <tiwai@suse.de>
----
-
-diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
-index c3077d5..f560051 100644
---- a/sound/pci/hda/hda_codec.c
-+++ b/sound/pci/hda/hda_codec.c
-@@ -4454,6 +4454,8 @@ static void __snd_hda_power_up(struct hda_codec *codec, bool wait_power_down)
- 	 * then there is no need to go through power up here.
- 	 */
- 	if (codec->power_on) {
-+		if (codec->power_transition < 0)
-+			codec->power_transition = 0;
- 		spin_unlock(&codec->power_lock);
- 		return;
- 	}