]> git.baikalelectronics.ru Git - kernel.git/commit
[media] gspca - main: Correct use of interval in bandwidth calculation
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Dec 2011 11:20:50 +0000 (08:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 11:01:18 +0000 (09:01 -0200)
commit29e3f96c6e079d3ff29e97815c791018e3750987
tree398fd278fa4787dd4bde55dff221cf2d819106ae
parenta4b442c165fbdf7938664c7b6bcf23048bf59f4a
[media] gspca - main: Correct use of interval in bandwidth calculation

The calculated bandwidth should not be multiplied by the interval, but be
divided by it. Also bInterbval should be interpreted as a power of 2
for isochronous endpoints.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c