[media] v4l2-ioctl: handle priority handling based on a table lookup
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 10 May 2012 08:40:50 +0000 (05:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 12:18:38 +0000 (09:18 -0300)
commit4b902fec7cd838d2376517455acb03a83898e262
treefaf062c0151fcbee461ff49ffadf9f183f9a0846
parent6539799599f50e9ce36da784ee0f545540a9732c
[media] v4l2-ioctl: handle priority handling based on a table lookup

Rather than checking the priority for each ioctl that needs to, just mark
such ioctls in the table and do it only once.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c