Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261581
b: refs/heads/master
c: e213e43
h: refs/heads/master
i:
  261579: 9c98354
v: v3
  • Loading branch information
Amber Jain authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent a347d73 commit ec3ef4b
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: e831599cb8bed4e6aa2a336ec2e3aaf74dee6353
refs/heads/master: e213e438ce2a7451572f1c00ed87893ca25d3ea9
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/omap24xxcam.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ static int omap24xxcam_vbq_alloc_mmap_buffer(struct videobuf_buffer *vb)
order--;

/* try to allocate as many contiguous pages as possible */
page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
page = alloc_pages(GFP_KERNEL, order);
/* if allocation fails, try to allocate smaller amount */
while (page == NULL) {
order--;
page = alloc_pages(GFP_KERNEL | GFP_DMA, order);
page = alloc_pages(GFP_KERNEL, order);
if (page == NULL && !order) {
err = -ENOMEM;
goto out;
Expand Down

0 comments on commit ec3ef4b

Please sign in to comment.