Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343850
b: refs/heads/master
c: 2869a31
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 5488ad9 commit a18f3c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 83fa235b72cf8b6075032a764e61adf11498006b
refs/heads/master: 2869a318ce313f97f987935dd225d88a9b30b2fc
10 changes: 2 additions & 8 deletions trunk/drivers/media/platform/m2m-deinterlace.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,14 @@ static void dma_callback(void *data)
static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op,
int do_callback)
{
struct deinterlace_q_data *s_q_data, *d_q_data;
struct deinterlace_q_data *s_q_data;
struct vb2_buffer *src_buf, *dst_buf;
struct deinterlace_dev *pcdev = ctx->dev;
struct dma_chan *chan = pcdev->dma_chan;
struct dma_device *dmadev = chan->device;
struct dma_async_tx_descriptor *tx;
unsigned int s_width, s_height;
unsigned int d_width, d_height;
unsigned int d_size, s_size;
unsigned int s_size;
dma_addr_t p_in, p_out;
enum dma_ctrl_flags flags;

Expand All @@ -238,11 +237,6 @@ static void deinterlace_issue_dma(struct deinterlace_ctx *ctx, int op,
s_height = s_q_data->height;
s_size = s_width * s_height;

d_q_data = get_q_data(V4L2_BUF_TYPE_VIDEO_CAPTURE);
d_width = d_q_data->width;
d_height = d_q_data->height;
d_size = d_width * d_height;

p_in = (dma_addr_t)vb2_dma_contig_plane_dma_addr(src_buf, 0);
p_out = (dma_addr_t)vb2_dma_contig_plane_dma_addr(dst_buf, 0);
if (!p_in || !p_out) {
Expand Down

0 comments on commit a18f3c4

Please sign in to comment.