OSDN Git Service

[media] vivi: fix ENUM_FRAMEINTERVALS implementation
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 25 Feb 2014 10:15:54 +0000 (07:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 09:56:45 +0000 (06:56 -0300)
commitba38acb1423aa0bc9cd2b38229452b4056911130
tree8a7bef8645792906d7d99f728ffbce8d7d639518
parent48d829dadb80a2570aaa99fa324da41b3e05f43b
[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