]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gscpa_ov519: Fix the bandwidth calc for enabling compression
authorHans de Goede <hdegoede@redhat.com>
Sun, 1 Jan 2012 16:45:43 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 12:40:54 +0000 (10:40 -0200)
commite2298d85e4ce9f5c84f3013ad90bd2a24ebf0ab1
treea8506abeb6413308ce21bc23f7753df932e64394
parentde92fa9c1c2ef59985cb4318c590de5eb35db35f
[media] gscpa_ov519: Fix the bandwidth calc for enabling compression

Somehow the code has ended up assuming 1400 packets/sec which of course
is wrong for usb1 devices like the ov511 cameras. usb1 only does 1000
(isoc) packets / sec.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c