Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc641261 authored by Shuah Khan's avatar Shuah Khan Committed by Mauro Carvalho Chehab
Browse files

[media] media: Update documentation for media_entity_notify



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: default avatarShuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 90866b3a
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -39,8 +39,10 @@ struct device;
 * @notify_data: Input data to invoke the callback
 * @notify_data: Input data to invoke the callback
 * @notify: Callback function pointer
 * @notify: Callback function pointer
 *
 *
 * Drivers may register a callback to take action when
 * Drivers may register a callback to take action when new entities get
 * new entities get registered with the media device.
 * 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 media_entity_notify {
	struct list_head list;
	struct list_head list;