summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-05 02:07:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-05 02:07:50 +0000
commit89cb8054dc17d87012d28c40d5447da4aeef4bfb (patch)
treea4fc39a28612bf54b1dd6c3e6b2eb1ad66bc2929
parent769302fc498422f28a79811c8c2d6d5b1b2e0bf8 (diff)
downloadmtk-20170518-89cb8054dc17d87012d28c40d5447da4aeef4bfb.zip
mtk-20170518-89cb8054dc17d87012d28c40d5447da4aeef4bfb.tar.gz
mtk-20170518-89cb8054dc17d87012d28c40d5447da4aeef4bfb.tar.bz2
brcm47xx-2.6: reset the pci core at boot time (see #464)
SVN-Revision: 6868
-rw-r--r--target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
index e18e486..3ad9703 100644
--- a/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
+++ b/target/linux/brcm47xx-2.6/files/drivers/ssb/driver_pci/pcicore.c
@@ -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);