Skip to content

Commit

Permalink
em28xx: em2800 chips support max width of 640
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 491aa96 commit 1ca3189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/em28xx/em28xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1ca3189

Please sign in to comment.