From 33c8312458ececd849c28c7182035adfaf85ea31 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 22 Feb 2016 11:08:13 -0300 Subject: linux-libre-audit-4.4.2_gnu-1: updating version --- kernels/linux-libre-audit/PKGBUILD | 10 ++------- ...inding-for-drivers-without-probe-callback.patch | 24 ---------------------- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 kernels/linux-libre-audit/tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch (limited to 'kernels/linux-libre-audit') diff --git a/kernels/linux-libre-audit/PKGBUILD b/kernels/linux-libre-audit/PKGBUILD index a25a28c0a..68e0ddc8d 100644 --- a/kernels/linux-libre-audit/PKGBUILD +++ b/kernels/linux-libre-audit/PKGBUILD @@ -10,7 +10,7 @@ pkgbase=linux-libre-audit _pkgbasever=4.4-gnu -_pkgver=4.4.1-gnu +_pkgver=4.4.2-gnu _replacesarchkernel=('linux%') # '%' gets replaced with _kernelname _replacesoldkernels=() # '%' gets replaced with _kernelname @@ -44,7 +44,6 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li # standard config files for mkinitcpio ramdisk 'linux.preset' 'change-default-console-loglevel.patch' - 'tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch' '0001-sdhci-revert.patch' '0001-4.4-revert-btrfs.patch' '0001-4.4-revert-xfs.patch' @@ -64,7 +63,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li '0009-ARM-dts-dove-add-Dove-divider-clocks.patch') sha256sums=('f53e99866c751f21412737d1f06b0721e207f495c8c64f97dffb681795ee69a0' 'SKIP' - 'ed09b329d879bb758374b6a76acb841cdf63a6638720378657fb2b6eeed6b265' + 'f82d7a08ab1fc0d810a74ff294f7757af71fa7f90db0038aabbf086c8006ba78' 'SKIP' 'bfd4a7f61febe63c880534dcb7c31c5b932dde6acf991810b41a939a93535494' 'SKIP' @@ -77,7 +76,6 @@ sha256sums=('f53e99866c751f21412737d1f06b0721e207f495c8c64f97dffb681795ee69a0' '451eae6caea707adab94d7341e86e2e643415d62b2e0ab67bb77dbe44489a7d9' 'f0d90e756f14533ee67afda280500511a62465b4f76adcc5effa95a40045179c' '1256b241cd477b265a3c2d64bdc19ffe3c9bbcee82ea3994c590c2c76e767d99' - 'ab57037ecee0a425c612babdff47c831378bca0bff063a1308599989a350226d' '5313df7cb5b4d005422bd4cd0dae956b2dadba8f3db904275aaf99ac53894375' '51586b733e9f178bebe577258b6057b035eded516ffe8bf8bbb26cb0b26c4958' 'ffbfaa192d17bfc7c6293aa9a07efe57f65177051ae3d8033d5e45a7bca2e0ad' @@ -146,10 +144,6 @@ prepare() { # https://bugzilla.kernel.org/show_bug.cgi?id=106541 patch -Rp1 -i "${srcdir}/0001-sdhci-revert.patch" - # fixes #47805 kernel panics on platform modules - # https://bugzilla.kernel.org/show_bug.cgi?id=110751 - patch -Np1 -i "${srcdir}/tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch" - # #47757 fix broken suspend from btrfs and xfs patch -Np1 -i "${srcdir}/0001-4.4-revert-xfs.patch" patch -Np1 -i "${srcdir}/0001-4.4-revert-btrfs.patch" diff --git a/kernels/linux-libre-audit/tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch b/kernels/linux-libre-audit/tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch deleted file mode 100644 index 691ab79b9..000000000 --- a/kernels/linux-libre-audit/tpmdd-devel-v3-base-platform-fix-binding-for-drivers-without-probe-callback.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/drivers/base/platform.c b/drivers/base/platform.c -index 1dd6d3b..176b59f 100644 ---- a/drivers/base/platform.c -+++ b/drivers/base/platform.c -@@ -513,10 +513,15 @@ static int platform_drv_probe(struct device *_dev) - return ret; - - ret = dev_pm_domain_attach(_dev, true); -- if (ret != -EPROBE_DEFER && drv->probe) { -- ret = drv->probe(dev); -- if (ret) -- dev_pm_domain_detach(_dev, true); -+ if (ret != -EPROBE_DEFER) { -+ if (drv->probe) { -+ ret = drv->probe(dev); -+ if (ret) -+ dev_pm_domain_detach(_dev, true); -+ } else { -+ /* don't fail if just dev_pm_domain_attach failed */ -+ ret = 0; -+ } - } - - if (drv->prevent_deferred_probe && ret == -EPROBE_DEFER) { -- cgit v1.2.3