Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271170
b: refs/heads/master
c: b181565
h: refs/heads/master
v: v3
  • Loading branch information
Viresh Kumar authored and Grant Likely committed Sep 21, 2011
1 parent ff4118b commit dbcf099
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 538a18dc189ef5d0b87c987d8460515b5e2e8588
refs/heads/master: b181565ee6a0f894bd6a134b9e5bed2966bdf9b3
2 changes: 1 addition & 1 deletion trunk/drivers/spi/spi-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ static int configure_dma(struct pl022 *pl022)
dmaengine_slave_config(txchan, &tx_conf);

/* Create sglists for the transfers */
pages = (pl022->cur_transfer->len >> PAGE_SHIFT) + 1;
pages = DIV_ROUND_UP(pl022->cur_transfer->len, PAGE_SIZE);
dev_dbg(&pl022->adev->dev, "using %d pages for transfer\n", pages);

ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_ATOMIC);
Expand Down

0 comments on commit dbcf099

Please sign in to comment.