Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290620
b: refs/heads/master
c: c0e89f0
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Feb 22, 2012
1 parent 51500bd commit bfdadfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3d7cdc3b41804096a9df9c5d7a9439ef192f36a
refs/heads/master: c0e89f084b5089acdfdda1cb45c88896fa0f5139
7 changes: 3 additions & 4 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3467,21 +3467,20 @@ static int brcmf_sdbrcm_bus_init(struct device *dev)

/* Set bus state according to enable result */
bus_if->state = BRCMF_BUS_DATA;
}

else {
} else {
/* Disable F2 again */
enable = SDIO_FUNC_ENABLE_1;
brcmf_sdcard_cfg_write(bus->sdiodev, SDIO_FUNC_0,
SDIO_CCCR_IOEx, enable, NULL);
ret = -ENODEV;
}

/* Restore previous clock setting */
brcmf_sdcard_cfg_write(bus->sdiodev, SDIO_FUNC_1,
SBSDIO_FUNC1_CHIPCLKCSR, saveclk, &err);

/* If we didn't come up, turn off backplane clock */
if (bus_if->state != BRCMF_BUS_DATA)
if (!ret)
brcmf_sdbrcm_clkctl(bus, CLK_NONE, false);

exit:
Expand Down

0 comments on commit bfdadfc

Please sign in to comment.