]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: increase maxwidth for em2800
authorSascha Sommer <saschasommer@freenet.de>
Sun, 8 Jan 2012 19:54:28 +0000 (16:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:54:03 +0000 (22:54 -0200)
commitb6a05311e229d1b5767d58b856ba49058a172c27
treea62626446630bcd72bbf5e920b95080a84aa31b3
parent1a303c31606d0050f13b34e236072947d0a7fd0c
[media] em28xx: increase maxwidth for em2800

The MaxPacketSize for em2800 based devices is too small to capture at full resolution.
Therefore scale down when the maximum frame size is selected.
The previous workaround that simply reduced the X resolution cannot be used
because it crops a part of the input as
the em2800 can only scale down with a factor of 0.5.

reverts commits 0136403dc and e1958aa8451.

[mchehab@redhat.com: Fix CodingStyle]
Signed-off-by: Sascha Sommer <saschasommer@freenet.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx.h