commit | a5ee6e41b2dee2aae2930278ba070ea8385db040 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri May 25 11:58:06 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Jun 11 18:11:40 2012 -0300 |
tree | c0f313c2311862cf1d5e68a17a0b59df64421b52 | |
parent | 0c142c86991551b8b9675ab72609f7a29ee2e1e3 [diff] |
[media] v4l2-dev.c: fix g_parm regression in determine_valid_ioctls() 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>