[PATCH RFC 0/3] added managed media/v4l2 initialization

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

 



Those three patches adds devm_* functions for initialization of:
- media entity,
- subdevice,
- v4l2 controls handler.

Converting current v4l2 (sub-)devices to use devm API should simplify
device cleanup routines.

Andrzej Hajda (3):
  media: added managed media entity initialization
  media: added managed v4l2 control initialization
  media: added managed v4l2 subdevice initialization

 drivers/media/media-entity.c          |   70 +++++++++++++++++++++++++++++++++
 drivers/media/v4l2-core/v4l2-common.c |   10 +++++
 drivers/media/v4l2-core/v4l2-ctrls.c  |   48 ++++++++++++++++++++++
 drivers/media/v4l2-core/v4l2-subdev.c |   52 ++++++++++++++++++++++++
 include/media/media-entity.h          |    4 ++
 include/media/v4l2-common.h           |    2 +
 include/media/v4l2-ctrls.h            |   30 ++++++++++++++
 include/media/v4l2-subdev.h           |    5 +++
 8 files changed, 221 insertions(+)

-- 
1.7.10.4

--
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