upstream: [media] vivi: fix ENUM_FRAMEINTERVALS implementation
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 25 Feb 2014 10:15:54 +0000 (07:15 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:58:43 +0000 (11:58 +0900)
commit96fc40e67f6a78898bc6b59eaa0104bfe8a79f1d
tree7e450c67e021b45f38c03f8a8142d4260b4e6523
parentd5c91dc0a099a13b5c8c23a9d08aaaea0df95717
upstream: [media] vivi: fix ENUM_FRAMEINTERVALS implementation

This function never checked if width and height are correct. Add such
a check so the v4l2-compliance tool returns OK again for vivi.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vivi.c