Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226398
b: refs/heads/master
c: 61ea3aa
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Dec 30, 2010
1 parent 3555ecb commit bfa42ee
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: 657f2271050beabe725ba101c1d840f51a41f33d
refs/heads/master: 61ea3aa5bf309333c6655ccef825b4a765bff219
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/timblogiw.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static void timblogiw_dma_cb(void *data)

static bool timblogiw_dma_filter_fn(struct dma_chan *chan, void *filter_param)
{
return chan->chan_id == (int)filter_param;
return chan->chan_id == (uintptr_t)filter_param;
}

/* IOCTL functions */
Expand Down Expand Up @@ -668,7 +668,7 @@ static int timblogiw_open(struct file *file)

/* find the DMA channel */
fh->chan = dma_request_channel(mask, timblogiw_dma_filter_fn,
(void *)lw->pdata.dma_channel);
(void *)(uintptr_t)lw->pdata.dma_channel);
if (!fh->chan) {
dev_err(&vdev->dev, "Failed to get DMA channel\n");
kfree(fh);
Expand Down

0 comments on commit bfa42ee

Please sign in to comment.