[media] em28xx: introduce #define for maximum supported scaling values (register...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 10 Feb 2013 19:05:11 +0000 (16:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 17:30:18 +0000 (14:30 -0300)
commit8168532712fe0c662f22180755fb89103a2e6558
treec057eae582bb97b1e457f2b2f233b0c60b76e2c7
parent84e902aa05b628b940c4a17ea2c92ec4fbcffc18
[media] em28xx: introduce #define for maximum supported scaling values (register 0x30-0x33)

The maximum supported scaling value for registers 0x30+0x31 (horizontal scaling)
and 0x32+0x33 (vertical scaling) is 0x3fff, which corresponds to 20% of the
input frame size.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-reg.h
drivers/media/usb/em28xx/em28xx-video.c