[media] v4l2-ctrls: only check def for menu, integer and boolean controls
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 29 Dec 2010 17:27:05 +0000 (14:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Dec 2010 10:02:18 +0000 (08:02 -0200)
commit02ac04805e6a753610d7dd1716181ccbd8e366af
tree84333bc8469a497aee775457837e1dc86509c550
parent513521eaee4375a1a0da0b73c7131a165a9fe4d9
[media] v4l2-ctrls: only check def for menu, integer and boolean controls

The 'def' field is only valid for menus, integers and booleans.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c