]> git.karo-electronics.de Git - linux-beck.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)
commit1020d13d50d0a5bfcfc8a0a6826ed221cdf8a775
treea62626446630bcd72bbf5e920b95080a84aa31b3
parentca80cf60489508792e97a7703ed35756f4d62943
[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 1ca31892e and fb3de0398ab.

[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