aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-04-23 13:55:36 +0000
committerJonas Gorski <jogo@openwrt.org>2013-04-23 13:55:36 +0000
commit90986b5581772a3767f5af2cadbde7310a3df296 (patch)
tree5a83f720d472bd1e039b021f92b9ff552d16cbe2 /target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch
parent2a1a16d2d55b02dd145db1be84999b88895595e5 (diff)
downloadupstream-90986b5581772a3767f5af2cadbde7310a3df296.tar.gz
upstream-90986b5581772a3767f5af2cadbde7310a3df296.tar.bz2
upstream-90986b5581772a3767f5af2cadbde7310a3df296.zip
bcm63xx: update patches with upstream submissions
SVN-Revision: 36407
Diffstat (limited to 'target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch b/target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch
new file mode 100644
index 0000000000..584bc48907
--- /dev/null
+++ b/target/linux/brcm63xx/patches-3.8/017-Revert-MIPS-BCM63XX-Call-board_register_device-from-.patch
@@ -0,0 +1,30 @@
+From 76d82677cb010b28346aa4c7aa9d36d94916392b Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Tue, 8 May 2012 09:39:01 +0200
+Subject: [PATCH] Revert "MIPS: BCM63XX: Call board_register_device from
+ device_initcall()"
+
+This commit causes a race between PCI scan and SSB fallback SPROM handler
+registration, causing the wifi to not work on slower systems. The only
+subsystem touched from board_register_devices is platform device
+registration, which is safe as an arch init call.
+
+This reverts commit d64ed7ada2f689d2c62af1892ca55e47d3653e36.
+
+Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+---
+
+This patch is in OpenWrt since ages, and we never encountered any issues
+from this revert.
+
+ arch/mips/bcm63xx/setup.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/mips/bcm63xx/setup.c
++++ b/arch/mips/bcm63xx/setup.c
+@@ -157,4 +157,4 @@ int __init bcm63xx_register_devices(void
+ return board_register_devices();
+ }
+
+-device_initcall(bcm63xx_register_devices);
++arch_initcall(bcm63xx_register_devices);