summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:21:23 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:21:23 -0600
commitaf5d8ed34638590c5c35e3fb0c3692e0f939f3dd (patch)
treef8528b5c2de22a516e2b259514b1957a89c1a53d /drivers
parent9c18a985cdae71bdcb58d8a606a63f08122d1eae (diff)
Fixed coding errors in the mxc v4l2 output driver.
Patch to fix coding errors in the mxc v4l2 output driver. http://www.bitshrine.org/gpp/linux-2.6.22-mx-Fixed-coding-errors-in-the-mxc-v4l2-output.patch
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/mxc/output/mxc_v4l2_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/mxc/output/mxc_v4l2_output.c b/drivers/media/video/mxc/output/mxc_v4l2_output.c
index 6f0fc6477fdd..1078ad26caaf 100644
--- a/drivers/media/video/mxc/output/mxc_v4l2_output.c
+++ b/drivers/media/video/mxc/output/mxc_v4l2_output.c
@@ -1259,7 +1259,7 @@ mxc_v4l2out_do_ioctl(struct inode *inode, struct file *file,
if(dq_timeout_cnt == 0){
dev_dbg(vdev->dev, "VIDIOC_DQBUF: timeout\n");
}
- dq_timeout++;
+ dq_timeout_cnt++;
retval = -ETIME;
break;
} else if (signal_pending(current)) {
@@ -1267,7 +1267,7 @@ mxc_v4l2out_do_ioctl(struct inode *inode, struct file *file,
dev_dbg(vdev->dev,
"VIDIOC_DQBUF: interrupt received\n");
}
- dq_intr_cnt++
+ dq_intr_cnt++;
retval = -ERESTARTSYS;
break;
}