[media] v4l2-dev.c: fix g_parm regression in determine_valid_ioctls()
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 25 May 2012 14:58:06 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 21:11:40 +0000 (18:11 -0300)
The field current_norm does not have to be set for g_parm to be a valid
ioctl. Remove that check, but add a check whether this is a video node
instead as g_parm only makes sense for those nodes.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found