Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271169
b: refs/heads/master
c: 538a18d
h: refs/heads/master
i:
  271167: 86881ae
v: v3
  • Loading branch information
Viresh Kumar authored and Grant Likely committed Sep 21, 2011
1 parent e6acd1c commit ff4118b
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: f1e45f86ed93b9ec0b6b51dd75841894935d2b68
refs/heads/master: 538a18dc189ef5d0b87c987d8460515b5e2e8588
4 changes: 2 additions & 2 deletions trunk/drivers/spi/spi-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,11 +1019,11 @@ static int configure_dma(struct pl022 *pl022)
pages = (pl022->cur_transfer->len >> PAGE_SHIFT) + 1;
dev_dbg(&pl022->adev->dev, "using %d pages for transfer\n", pages);

ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_KERNEL);
ret = sg_alloc_table(&pl022->sgt_rx, pages, GFP_ATOMIC);
if (ret)
goto err_alloc_rx_sg;

ret = sg_alloc_table(&pl022->sgt_tx, pages, GFP_KERNEL);
ret = sg_alloc_table(&pl022->sgt_tx, pages, GFP_ATOMIC);
if (ret)
goto err_alloc_tx_sg;

Expand Down

0 comments on commit ff4118b

Please sign in to comment.