]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] media: Update documentation for media_entity_notify
authorShuah Khan <shuahkh@osg.samsung.com>
Mon, 14 Mar 2016 22:24:25 +0000 (19:24 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:45:13 +0000 (13:45 -0200)
Update documentation for media_entity_notify to clearly state the usage
restrictions. This handler is intended for creating links between exiting
entities and should not used to create and register entities.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
include/media/media-device.h

index ef93e21335dfb1fd5967b5b0cda845f236c10170..a267f9ceee8f87fa9be285cbad18f1f798fa2d11 100644 (file)
@@ -39,8 +39,10 @@ struct device;
  * @notify_data: Input data to invoke the callback
  * @notify: Callback function pointer
  *
- * Drivers may register a callback to take action when
- * new entities get registered with the media device.
+ * Drivers may register a callback to take action when new entities get
+ * registered with the media device. This handler is intended for creating
+ * links between existing entities and should not create entities and register
+ * them.
  */
 struct media_entity_notify {
        struct list_head list;