]> git.baikalelectronics.ru Git - kernel.git/commit
media: entity: Pass entity to get_fwnode_pad operation
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 1 May 2020 17:15:35 +0000 (19:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 09:12:05 +0000 (11:12 +0200)
commit211f7d75f5aa9d227e38ea3bd2249b1b6b683d96
tree64cecf23c9608a8390253f3dbc158d4fafc219cb
parent7a20d692ed808cfa1f483604110479e3d464f2b2
media: entity: Pass entity to get_fwnode_pad operation

Add a missing pointer to the entity in the media_entity operation
get_fwnode_pad. There are no implementers of this op yet, but a future
entity that does so will almost certainly need a reference to itself
to carry out the work.

operation")

Fixes: 411ba70857351 ("[media] media: entity: Add get_fwnode_pad entity
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/mc/mc-entity.c
include/media/media-entity.h