summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-11-27 16:49:48 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 21:42:16 +0100
commit1ca31892e3af05ad3a72769e3c922cca3cde4f9d (patch)
tree40e51780390a046e768d38f33c11ab38adc1b6f3 /drivers/media/video/em28xx/em28xx.h
parentV4L/DVB (13523): dvb-bt8xx: fix compile warning (diff)
downloadlinux-1ca31892e3af05ad3a72769e3c922cca3cde4f9d.tar.xz
linux-1ca31892e3af05ad3a72769e3c922cca3cde4f9d.zip
em28xx: em2800 chips support max width of 640
Due to hardware limitation, em2800 chips can't work at resolutions higher than 640x576, since the URB packet size is not enough. The effect is that the image looses packages and shows a distortion along the vertical axes. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx.h')
-rw-r--r--drivers/media/video/em28xx/em28xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index bca5cbb7931c..166d4a6e6eaa 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -796,7 +796,7 @@ static inline unsigned int norm_maxw(struct em28xx *dev)
if (dev->board.is_webcam)
return dev->sensor_xres;
- if (dev->board.max_range_640_480)
+ if (dev->board.max_range_640_480 || dev->board.is_em2800)
return 640;
return 720;