]> 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)
commite8124bc718198b8094e1edfb50b836c46d1ee47a
treea62626446630bcd72bbf5e920b95080a84aa31b3
parent85929164f144cad91ba225c522ffe9d7b829f4b2
[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