diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2011-08-11 11:25:46 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 15:43:26 -0400 |
commit | 1ebbe3d31fd96865b4d4874f3c74fef0e386fb79 (patch) | |
tree | 78759bbced46adc4dc5bc3302b8a2be6aa2dcd2a /drivers/mmc/host/atmel-mci.c | |
parent | 11d1488b01b803254842b756ff7662085b37970e (diff) |
mmc: atmel-mci: use ATMEL_PDC_SCND_BUF_OFF instead of a literal value
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/atmel-mci.c')
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index caae967dcafe..c0a0659261aa 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -603,8 +603,8 @@ static void atmci_pdc_set_single_buf(struct atmel_mci *host, | |||
603 | } | 603 | } |
604 | 604 | ||
605 | if (buf_nb == PDC_SECOND_BUF) { | 605 | if (buf_nb == PDC_SECOND_BUF) { |
606 | pointer_reg += 0x10; | 606 | pointer_reg += ATMEL_PDC_SCND_BUF_OFF; |
607 | counter_reg += 0x10; | 607 | counter_reg += ATMEL_PDC_SCND_BUF_OFF; |
608 | } | 608 | } |
609 | 609 | ||
610 | atmci_writel(host, pointer_reg, sg_dma_address(host->sg)); | 610 | atmci_writel(host, pointer_reg, sg_dma_address(host->sg)); |