Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164699
b: refs/heads/master
c: ccdfe3a
h: refs/heads/master
i:
  164697: 4124dea
  164695: ba1b311
v: v3
  • Loading branch information
Anand Gadiyar authored and Linus Torvalds committed Sep 23, 2009
1 parent dcc2150 commit c9ffdbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 500f35648e5ebd04be00f974738a9db959a892b8
refs/heads/master: ccdfe3a66a57f5e36f56101e60946ee341eb5f1b
9 changes: 8 additions & 1 deletion trunk/drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
#define DTO_MASK 0x000F0000
#define DTO_SHIFT 16
#define INT_EN_MASK 0x307F0033
#define BWR_ENABLE (1 << 4)
#define BRR_ENABLE (1 << 5)
#define INIT_STREAM (1 << 1)
#define DP_SELECT (1 << 21)
#define DDIR (1 << 4)
Expand Down Expand Up @@ -241,7 +243,12 @@ mmc_omap_start_command(struct mmc_omap_host *host, struct mmc_command *cmd,
*/
OMAP_HSMMC_WRITE(host->base, STAT, STAT_CLEAR);
OMAP_HSMMC_WRITE(host->base, ISE, INT_EN_MASK);
OMAP_HSMMC_WRITE(host->base, IE, INT_EN_MASK);

if (host->use_dma)
OMAP_HSMMC_WRITE(host->base, IE,
INT_EN_MASK & ~(BRR_ENABLE | BWR_ENABLE));
else
OMAP_HSMMC_WRITE(host->base, IE, INT_EN_MASK);

host->response_busy = 0;
if (cmd->flags & MMC_RSP_PRESENT) {
Expand Down

0 comments on commit c9ffdbb

Please sign in to comment.