commit | f0beea8f46142ea7abd7ed3f44fd0967c603fae0 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Sun Aug 01 19:05:09 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Mar 22 04:53:27 2011 -0300 |
tree | 66b74b8b01eeb051faabeb8bb94ce64c1dbfb3e4 | |
parent | 7cd5a16b22af7dc92190a60f336b6854a6fcb99d [diff] |
[media] v4l: subdev: Add new file operations V4L2 sub-devices store pad formats and crop settings in the file handle. To let drivers initialize those settings properly, add an open operation that is called when the subdev is opened as well as a corresponding close operation. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>