Hi, all. Some hardware need to handle per-filehandle level controls. Hans suggests add a v4l2_ctrl_handler struct v4l2_fh. It will be work fine. Although below patch series are for subdev, but it's great start point. I will try to make a patch. If v4l2 control framework can be handle per-filehandle controls, a driver could be handle per-buffer level controls also. (with VB2 callback operation) Best Regards, /jtpark > -----Original Message----- > From: linux-media-owner@xxxxxxxxxxxxxxx [mailto:linux-media- > owner@xxxxxxxxxxxxxxx] On Behalf Of Laurent Pinchart > Sent: Thursday, March 10, 2011 6:27 AM > To: linux-media@xxxxxxxxxxxxxxx > Cc: hverkuil@xxxxxxxxx; jaeryul.oh@xxxxxxxxxxx > Subject: [PATCH/RFC 0/2] Support controls at the subdev file handler level > > Hi everybody, > > Here's a patch set that adds support for per-file-handle controls on V4L2 > subdevs. The patches are work in progress, but I'm still sending them as > Samsung expressed interest in a similar feature on V4L2 device nodes. > > Laurent Pinchart (2): > v4l: subdev: Move file handle support to drivers > v4l: subdev: Add support for file handler control handler > > drivers/media/video/v4l2-subdev.c | 144 +++++++++++++++++++------------- ---- > include/media/v4l2-subdev.h | 10 ++- > 2 files changed, 84 insertions(+), 70 deletions(-) > > -- > Regards, > > Laurent Pinchart > > -- > 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 -- 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