Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185376
b: refs/heads/master
c: 5b52025
h: refs/heads/master
v: v3
  • Loading branch information
FUJITA Tomonori authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent 2b4f3bd commit 63bde4e
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: ab3bbfa1af64a978ffff45861a1b694313a03537
refs/heads/master: 5b520259ab6d661b8d5eb39dd17cc5e4e4553c62
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/s3c-hsotg.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static void s3c_hsotg_unmap_dma(struct s3c_hsotg *hsotg,
req->dma = DMA_ADDR_INVALID;
hs_req->mapped = 0;
} else {
dma_sync_single(hsotg->dev, req->dma, req->length, dir);
dma_sync_single_for_cpu(hsotg->dev, req->dma, req->length, dir);
}
}

Expand Down Expand Up @@ -756,7 +756,7 @@ static int s3c_hsotg_map_dma(struct s3c_hsotg *hsotg,
hs_req->mapped = 1;
req->dma = dma;
} else {
dma_sync_single(hsotg->dev, req->dma, req->length, dir);
dma_sync_single_for_cpu(hsotg->dev, req->dma, req->length, dir);
hs_req->mapped = 0;
}

Expand Down

0 comments on commit 63bde4e

Please sign in to comment.