Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270232
b: refs/heads/master
c: 1ebbe3d
h: refs/heads/master
v: v3
  • Loading branch information
Ludovic Desroches authored and Chris Ball committed Oct 26, 2011
1 parent 3c79cb5 commit e568c22
Show file tree
Hide file tree
Showing 3 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: 11d1488b01b803254842b756ff7662085b37970e
refs/heads/master: 1ebbe3d31fd96865b4d4874f3c74fef0e386fb79
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/atmel-mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,8 @@ static void atmci_pdc_set_single_buf(struct atmel_mci *host,
}

if (buf_nb == PDC_SECOND_BUF) {
pointer_reg += 0x10;
counter_reg += 0x10;
pointer_reg += ATMEL_PDC_SCND_BUF_OFF;
counter_reg += ATMEL_PDC_SCND_BUF_OFF;
}

atmci_writel(host, pointer_reg, sg_dma_address(host->sg));
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/atmel_pdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@

#define ATMEL_PDC_PTSR 0x124 /* Transfer Status Register */

#define ATMEL_PDC_SCND_BUF_OFF 0x10 /* Offset between first and second buffer registers */

#endif

0 comments on commit e568c22

Please sign in to comment.