Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164718
b: refs/heads/master
c: abb28e7
h: refs/heads/master
v: v3
  • Loading branch information
Denis Karpov authored and Linus Torvalds committed Sep 23, 2009
1 parent af089aa commit d2c4f61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 11dd62a741047b9fd1faf37620e2b58595f04ce5
refs/heads/master: abb28e731a751f0b6c293a67b3e564eb0e336d53
6 changes: 4 additions & 2 deletions trunk/drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,9 +1118,11 @@ static void omap_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
if (do_send_init_stream)
send_init_stream(host);

con = OMAP_HSMMC_READ(host->base, CON);
if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN)
OMAP_HSMMC_WRITE(host->base, CON,
OMAP_HSMMC_READ(host->base, CON) | OD);
OMAP_HSMMC_WRITE(host->base, CON, con | OD);
else
OMAP_HSMMC_WRITE(host->base, CON, con & ~OD);

mmc_host_lazy_disable(host->mmc);
}
Expand Down

0 comments on commit d2c4f61

Please sign in to comment.