aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c
index d395403afe5a..cd1f70fffdec 100644
--- a/drivers/media/video/saa7134/saa7134-video.c
+++ b/drivers/media/video/saa7134/saa7134-video.c
@@ -1798,9 +1798,9 @@ static int video_do_ioctl(struct inode *inode, struct file *file,
1798 crop->c.height = b->top - crop->c.top + b->height; 1798 crop->c.height = b->top - crop->c.top + b->height;
1799 1799
1800 if (crop->c.left < b->left) 1800 if (crop->c.left < b->left)
1801 crop->c.top = b->left; 1801 crop->c.left = b->left;
1802 if (crop->c.left > b->left + b->width) 1802 if (crop->c.left > b->left + b->width)
1803 crop->c.top = b->left + b->width; 1803 crop->c.left = b->left + b->width;
1804 if (crop->c.width > b->left - crop->c.left + b->width) 1804 if (crop->c.width > b->left - crop->c.left + b->width)
1805 crop->c.width = b->left - crop->c.left + b->width; 1805 crop->c.width = b->left - crop->c.left + b->width;
1806 1806