diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-08-22 03:27:22 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-08-31 12:10:06 +0300 |
| commit | 0b6b9a0f68817cc92a25267585b30bbb02be61cf (patch) | |
| tree | 0ea4dff428094aaf0dad4897fe3b5bea2438948a /include/linux/timerqueue.h | |
| parent | 6234d0df236ab1a71c6bd75e4f5fa15339d5272b (diff) | |
| download | linux-0b6b9a0f68817cc92a25267585b30bbb02be61cf.tar.xz | |
media: imx-mipi-csis: Simplify access to source pad
The mipi_csis_calculate_params() function needs to access the pad of the
connected source. The pad is already available in csis->source.pad, but
the function takes a convoluted path by getting the pad index and
indexing the source subdev's pads array. Simplify it.
No functional change is intended.
Link: https://lore.kernel.org/r/20250822002734.23516-3-laurent.pinchart@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
