linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFCv1 API PATCH 1/4] Two fixes and two v4l2-ctrl enhancements
@ 2012-09-14 11:15 Hans Verkuil
  2012-09-14 11:15 ` [RFCv1 API PATCH 1/4] vb2: fix wrong owner check Hans Verkuil
  0 siblings, 1 reply; 15+ messages in thread
From: Hans Verkuil @ 2012-09-14 11:15 UTC (permalink / raw)
  To: linux-media

Hi all,

The first and last patches are bug fixes, and the second and third add
two new features to the control framework:

The first new feature adds a notifier to a control. When set the notifier
will be called whenever the control changes value. This feature is needed
to allow bridge drivers to detect changes in controls of a subdevice,
even if those controls are private to the subdevice. It does for kernel
drivers what the V4L2 event API does for userspace.

This functionality is initially required for the em28xx conversion to
the control framework, but it is also required for drivers that have to
deal with e.g. HDMI connectors with all the hotplug etc. events.

The second feature adds a filter function to the v4l2_ctrl_add_handler
function that allows you to select more precisely which controls you
want to add.

The primary purpose is to add only the audio controls to a control handler
for a radio device. Currently you will also see the video controls when
listing controls from the radio device of a combine tv/radio card and with
this filter function it is easy to fix that.

Comments are welcome!

Regards,

	Hans


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-10-02  6:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 11:15 [RFCv1 API PATCH 1/4] Two fixes and two v4l2-ctrl enhancements Hans Verkuil
2012-09-14 11:15 ` [RFCv1 API PATCH 1/4] vb2: fix wrong owner check Hans Verkuil
2012-09-14 11:15   ` [RFCv1 API PATCH 2/4] v4l2-ctrls: add a notify callback Hans Verkuil
2012-09-26 10:50     ` Laurent Pinchart
2012-09-27  6:44       ` Hans Verkuil
2012-10-01 20:01         ` Mauro Carvalho Chehab
2012-10-02  6:36           ` Hans Verkuil
2012-09-14 11:15   ` [RFCv1 API PATCH 3/4] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler Hans Verkuil
2012-09-14 11:15   ` [RFCv1 API PATCH 4/4] tuner-core: map audmode to STEREO for radio devices Hans Verkuil
2012-09-25 13:33     ` Mauro Carvalho Chehab
2012-09-25 13:45       ` Hans Verkuil
2012-09-26  2:29         ` Mauro Carvalho Chehab
2012-09-26  7:03           ` Hans Verkuil
2012-09-26  9:35             ` Mauro Carvalho Chehab
2012-09-26  9:57               ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).