[media] return -ENOTTY for unsupported ioctl's at legacy drivers
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 26 Jun 2011 13:18:03 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:38 +0000 (17:53 -0300)
commit7a286cc1889f14c5c8dbf866718edde100527d8c
treeab89587a98d1dbb062b248bad30c881003f94202
parent9190d191b1b814dfb488125b54cf0de6eedd9220
[media] return -ENOTTY for unsupported ioctl's at legacy drivers

Those drivers are not relying at the V4L2 core to handle the ioctl's.
So, we need to manually patch them every time a change goes to the
core.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-By: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/et61x251/et61x251_core.c
drivers/media/video/pvrusb2/pvrusb2-v4l2.c
drivers/media/video/sn9c102/sn9c102_core.c
drivers/media/video/uvc/uvc_v4l2.c