[media] v4l2-ctrls: add helper functions for control events
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 27 Jan 2012 19:18:42 +0000 (16:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Feb 2012 18:38:43 +0000 (16:38 -0200)
commita26243b0e3726d2b39dc23dd2c8717c52a286af4
tree478ea3c96e683a29a937746c853f5dcf4d323f03
parent42194e728f067cde09a95ce522c108756d44c0be
[media] v4l2-ctrls: add helper functions for control events

Many drivers just support control events, and most radio drivers just need
to poll for control events. Add some functions to simplify those jobs.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c
include/media/v4l2-ctrls.h