Commit 1ca31892 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 491aa96a
...@@ -796,7 +796,7 @@ static inline unsigned int norm_maxw(struct em28xx *dev) ...@@ -796,7 +796,7 @@ static inline unsigned int norm_maxw(struct em28xx *dev)
if (dev->board.is_webcam) if (dev->board.is_webcam)
return dev->sensor_xres; 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 640;
return 720; return 720;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment