Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186298
b: refs/heads/master
c: 752993e
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Ferre authored and Linus Torvalds committed Mar 6, 2010
1 parent f682dd2 commit 828dd64
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5b27a1a566c5a4cce81d75107a0f130e43c6a5f8
refs/heads/master: 752993ef8e40d1863b26c7dc51e12223588d0fe0
4 changes: 2 additions & 2 deletions trunk/drivers/mmc/host/at91_mci.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static inline void at91_mci_sg_to_dma(struct at91mci_host *host, struct mmc_data
dmabuf = (unsigned *)tmpv;
}

kunmap_atomic(((void *)sgbuffer) - sg->offset, KM_BIO_SRC_IRQ);
kunmap_atomic(sgbuffer, KM_BIO_SRC_IRQ);

if (size == 0)
break;
Expand Down Expand Up @@ -313,7 +313,7 @@ static void at91_mci_post_dma_read(struct at91mci_host *host)
dmabuf = (unsigned *)tmpv;
}

kunmap_atomic(((void *)sgbuffer)-sg->offset, KM_BIO_SRC_IRQ);
kunmap_atomic(sgbuffer, KM_BIO_SRC_IRQ);
dmac_flush_range((void *)sgbuffer, ((void *)sgbuffer) + amount);
data->bytes_xfered += amount;
if (size == 0)
Expand Down

0 comments on commit 828dd64

Please sign in to comment.