aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 14316c91217..89ab2e3b9a2 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -726,7 +726,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
726 return -EINVAL; 726 return -EINVAL;
727 } 727 }
728 728
729 if (dev->board.is_27xx) { 729 if (dev->board.is_webcam) {
730 /* FIXME: This is the only supported fmt */ 730 /* FIXME: This is the only supported fmt */
731 width = 640; 731 width = 640;
732 height = 480; 732 height = 480;
@@ -768,7 +768,7 @@ static int em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc,
768 struct em28xx_fmt *fmt; 768 struct em28xx_fmt *fmt;
769 769
770 /* FIXME: This is the only supported fmt */ 770 /* FIXME: This is the only supported fmt */
771 if (dev->board.is_27xx) { 771 if (dev->board.is_webcam) {
772 width = 640; 772 width = 640;
773 height = 480; 773 height = 480;
774 } 774 }