[media] gspca - main: Take numerator into account in fps calculations
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Dec 2011 12:13:07 +0000 (09:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 11:02:07 +0000 (09:02 -0200)
commit1153f04dea315a95e14ef5376737f7fbe18282c3
treed172872e46c889c259ea44cb364e4dba6a251b5e
parentd0d3435b212f88aebee6a06e002e4fd3b487a918
[media] gspca - main: Take numerator into account in fps calculations

In case we ever get sub drivers which do 7.5 fps and express this as
15 / 2 fps.

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