[media] gspca: fix setting frame interval type in vidioc_enum_frameintervals()
authorAntonio Ospite <ao2@ao2.it>
Wed, 9 Mar 2016 16:03:16 +0000 (13:03 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 17:57:22 +0000 (14:57 -0300)
commitc0925ba323ea163a2d29fb40ff682958610fd9b8
treeabd2dc48288963f6cbb6c6e4807e7443b214768a
parent8a074e860a4cdcefda92b6045d366a6fde960784
[media] gspca: fix setting frame interval type in vidioc_enum_frameintervals()

Set the frame _interval_ type to V4L2_FRMIVAL_TYPE_DISCRETE instead of
using V4L2_FRMSIZE_TYPE_DISCRETE which is meant for frame _size_.

The old and new values happen to be the same so there is no functional
change.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/gspca/gspca.c