Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1762c5ab authored by Jonas Gorski's avatar Jonas Gorski Committed by Ralf Baechle
Browse files

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 d64ed7ad [MIPS:
BCM63XX: Call board_register_device from device_initcall()].

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>
To: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 97367519
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -157,4 +157,4 @@ int __init bcm63xx_register_devices(void)
	return board_register_devices();
	return board_register_devices();
}
}


device_initcall(bcm63xx_register_devices);
arch_initcall(bcm63xx_register_devices);