aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/test-drivers/vimc/vimc-core.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-04-25 02:57:33 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-26 16:39:34 +0200
commit2ef9a1e722688ccea824e5f224b91ab4b6fb1a47 (patch)
treec252502b7732ab35b08e5649ad164f5767c868ff /drivers/media/test-drivers/vimc/vimc-core.c
parentb6ee5ac18403f908ad858704f828c6132808df21 (diff)
media: vimc: Don't iterate over single pad
The .init_state() operations of the debayer and sensor entities iterate over the entity's pads. In practice, the iteration covers a single pad only. Access the pad directly and remove the loops. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions