summaryrefslogtreecommitdiff
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-12-21 10:33:40 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-02-06 08:34:51 +0100
commit27e45f2e59c9db2c83ed67775e911c8a3c776db2 (patch)
treeeb30b7b48e3fa5fbf0bc781bf5ec3e9b839d7f0e /drivers/media/i2c
parent3e8537b4c15172bfe1b285c3155ed5c37d523cd3 (diff)
media: ti: omap4iss: Use media_pipeline_for_each_entity()
Replace usage of the deprecated media graph walk API with the new media_pipeline_for_each_entity() and media_pipeline_for_each_pad() macros. Even though the entity iterator may seem a better match when build the entity bitmap in iss_video_stream(), it would not be more efficient as it would still iterate internally over all pads. As the entity iterator requires explicit iterator initialization and cleanup calls, the code would be more complex. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions