brcm47xx-2.6: reset the pci core at boot time (see #464)
authorFelix Fietkau <nbd@openwrt.org>
Thu, 5 Apr 2007 02:07:50 +0000 (02:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 5 Apr 2007 02:07:50 +0000 (02:07 +0000)
SVN-Revision: 6868

target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c

index e18e486c01d7da71c1c3af2ff665f813038dd1c7..3ad97036f2e038ac8d94eb2a0a0e4a4949f4e1a3 100644 (file)
@@ -383,8 +383,7 @@ void ssb_pcicore_init(struct ssb_pcicore *pc)
        if (!dev)
                return;
        bus = dev->bus;
-       if (!ssb_device_is_enabled(dev))
-               ssb_device_enable(dev, 0);
+       ssb_device_enable(dev, 0);
 
 #ifdef CONFIG_SSB_PCICORE_HOSTMODE
        pc->hostmode = pcicore_is_in_hostmode(pc);