Commit e6c463e3 authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville

ssb: Fail ssb modinit, if attach of the buses failed.

SSB modinit should not succeed, if busattach failed.
Signed-off-by: default avatarMichael Buesch <>
Signed-off-by: default avatarJohn W. Linville <>
parent 69eddc8a
......@@ -1358,8 +1358,10 @@ static int __init ssb_modinit(void)
err = ssb_attach_queued_buses();
if (err)
if (err) {
goto out;
err = b43_pci_ssb_bridge_init();
if (err) {
......@@ -1375,7 +1377,7 @@ static int __init ssb_modinit(void)
/* don't fail SSB init because of this */
err = 0;
return err;
/* ssb must be initialized after PCI but before the ssb drivers.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment