summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-12 10:23:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-12 10:23:23 -0300
commit3301abf170615ab6fa08ca3b456980b67c22022b (patch)
tree4fb8c5db06e3d95b2a794c5e86c2f1e55a79c6c9 /linux/drivers/media/video/em28xx/em28xx-video.c
parent41eef36b70dbd593c62a427c75d0141be165ab14 (diff)
downloadmediapointer-dvb-s2-3301abf170615ab6fa08ca3b456980b67c22022b.tar.gz
mediapointer-dvb-s2-3301abf170615ab6fa08ca3b456980b67c22022b.tar.bz2
em28xx: rename is_27xx to is_webcam
From: Mauro Carvalho Chehab <mchehab@redhat.com> Just renames the flag, to use a clearer name. Later patches will use this flag to properly set some drivers behaviors for webcams. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index b0554ab08..e447c9f0a 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -748,7 +748,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
return -EINVAL;
}
- if (dev->board.is_27xx) {
+ if (dev->board.is_webcam) {
/* FIXME: This is the only supported fmt */
width = 640;
height = 480;
@@ -790,7 +790,7 @@ static int em28xx_set_video_format(struct em28xx *dev, unsigned int fourcc,
struct em28xx_fmt *fmt;
/* FIXME: This is the only supported fmt */
- if (dev->board.is_27xx) {
+ if (dev->board.is_webcam) {
width = 640;
height = 480;
}