media: mc: Improve the media_entity_has_pad_interdep() documentation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 14 Jan 2022 00:26:26 +0000 (01:26 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 08:25:11 +0000 (09:25 +0100)
commit1ec061243edeb729ac249b278bb241a846cc8e64
tree389c3c2f415ab06113725c83b61e6de9f3ccb8f7
parent7acd650a0484d92985a0d6d867d980c6dd019885
media: mc: Improve the media_entity_has_pad_interdep() documentation

Document the function parameters, the requirements on the pad0 and pad1
arguments, the locking requirements and the return value. Also improve
the documentation of the corresponding .has_pad_interdep() operation,
stating clearly that the operation must be called through the
media_entity_has_pad_interdep() function only.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/mc/mc-entity.c
include/media/media-entity.h