[GIT PULL FOR v3.7] Two control framework enhancements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This pull request adds two new features to the control framework:

- a notify function that is needed to have a bridge driver be notified of
  subdevice control changes
- a new filter function to have more control over which controls are added
  by v4l2_ctrl_add_handler.

Both of these features are used by upcoming driver conversions (bttv, em28xx,
others).

Although Laurent had some comments I disagreed with them (see:
http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg52708.html).

Laurent is OK with that.

This pull request is identical to my previous pull request, except for being
rebased to the latest v3.7 code.

Regards,

        Hans

The following changes since commit 8928b6d1568eb9104cc9e2e6627d7086437b2fb3:

  [media] media: mx2_camera: use managed functions to clean up code (2012-09-27 15:56:47 -0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git ctrlfw

for you to fetch changes up to 9983a1138bc7bed3dae801db430478effcc997c6:

  v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler. (2012-09-28 13:05:34 +0200)

----------------------------------------------------------------
Hans Verkuil (2):
      v4l2-ctrls: add a notify callback.
      v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler.

 Documentation/video4linux/v4l2-controls.txt    |   28 +++++++++++++++++++---------
 drivers/media/pci/cx88/cx88-blackbird.c        |    2 +-
 drivers/media/pci/cx88/cx88-video.c            |    2 +-
 drivers/media/platform/s5p-fimc/fimc-capture.c |    2 +-
 drivers/media/platform/soc_camera/soc_camera.c |    2 +-
 drivers/media/v4l2-core/v4l2-ctrls.c           |   50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 drivers/media/v4l2-core/v4l2-device.c          |    2 +-
 include/media/v4l2-ctrls.h                     |   43 +++++++++++++++++++++++++++++++++++++++++--
 8 files changed, 114 insertions(+), 17 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux