aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/test-drivers/vimc/vimc-scaler.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2024-04-25 02:57:33 +0300
committerHans Verkuil <[email protected]>2024-06-26 16:39:34 +0200
commit2ef9a1e722688ccea824e5f224b91ab4b6fb1a47 (patch)
treec252502b7732ab35b08e5649ad164f5767c868ff /drivers/media/test-drivers/vimc/vimc-scaler.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 <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-scaler.c')
0 files changed, 0 insertions, 0 deletions