]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit410cff0edc260491abcf595bd40923d0de76bfcc
treeabd2dc48288963f6cbb6c6e4807e7443b214768a
parent70c3d723b12dc440740dc3d6f318ef002380f6f9
[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