diff options
| author | Laurent Pinchart <[email protected]> | 2024-04-24 23:57:33 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-06-26 14:39:34 +0000 |
| commit | 2ef9a1e722688ccea824e5f224b91ab4b6fb1a47 (patch) | |
| tree | c252502b7732ab35b08e5649ad164f5767c868ff /drivers/media/test-drivers/vimc/vimc-capture.c | |
| parent | Merge tag 'tags/next-media-20240626' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | kernel-2ef9a1e722688ccea824e5f224b91ab4b6fb1a47.tar.gz kernel-2ef9a1e722688ccea824e5f224b91ab4b6fb1a47.zip | |
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-capture.c')
0 files changed, 0 insertions, 0 deletions
