summaryrefslogtreecommitdiff
path: root/patches/0051-no-wakeup_path/ssb.patch
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-09-24 12:51:38 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-09-24 12:52:02 +0200
commit7b6e1a148f38bab62a35fc6ff22b6f2feaba445b (patch)
tree0ddfc61d1db66767e924ea3fac903f065d4d3c01 /patches/0051-no-wakeup_path/ssb.patch
parent9e0c8ce615ca019dafd1c0e087809e97d913a229 (diff)
Revert "backports: Remove ssb and bcma"
This reverts commit 1b4e6ad4d927c7998fa578f2d29e0c4ec01a9217. Said commit broke b43 on older kernels (<3.16). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'patches/0051-no-wakeup_path/ssb.patch')
-rw-r--r--patches/0051-no-wakeup_path/ssb.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/0051-no-wakeup_path/ssb.patch b/patches/0051-no-wakeup_path/ssb.patch
new file mode 100644
index 00000000..dcebbcdf
--- /dev/null
+++ b/patches/0051-no-wakeup_path/ssb.patch
@@ -0,0 +1,12 @@
+--- a/drivers/ssb/pcihost_wrapper.c
++++ b/drivers/ssb/pcihost_wrapper.c
+@@ -33,7 +33,9 @@ static int ssb_pcihost_suspend(struct de
+
+ /* if there is a wakeup enabled child device on ssb bus,
+ enable pci wakeup posibility. */
++#if LINUX_VERSION_IS_GEQ(3,2,0)
+ device_set_wakeup_enable(d, d->power.wakeup_path);
++#endif /* LINUX_VERSION_IS_GEQ(3,2,0) */
+
+ pci_prepare_to_sleep(dev);
+