Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255186
b: refs/heads/master
c: 95c7348
h: refs/heads/master
v: v3
  • Loading branch information
Simon Horman authored and Chris Ball committed Jul 20, 2011
1 parent 4f3f946 commit 1b446d9
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 4c2b8f26eb8b54203e0e7834e0f7a11a7ae15ef1
refs/heads/master: 95c7348d948dc4832434ddfaeba804ac14732f02
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/host/tmio_mmc_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static void tmio_mmc_enable_dma(struct tmio_mmc_host *host, bool enable)
{
#if defined(CONFIG_SUPERH) || defined(CONFIG_ARCH_SHMOBILE)
/* Switch DMA mode on or off - SuperH specific? */
writew(enable ? 2 : 0, host->ctl + (0xd8 << host->bus_shift));
writew(enable ? 2 : 0, host->ctl + (CTL_DMA_ENABLE << host->bus_shift));
#endif
}

Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/mmc/tmio.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define CTL_TRANSACTION_CTL 0x34
#define CTL_SDIO_STATUS 0x36
#define CTL_SDIO_IRQ_MASK 0x38
#define CTL_DMA_ENABLE 0xd8
#define CTL_RESET_SD 0xe0
#define CTL_SDIO_REGS 0x100
#define CTL_CLK_AND_WAIT_CTL 0x138
Expand Down

0 comments on commit 1b446d9

Please sign in to comment.