diff options
author | Laurent Pinchart <[email protected]> | 2022-06-14 20:11:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-17 12:29:53 +0100 |
commit | 8b52ec2d1896223d620c27688024168194d7482b (patch) | |
tree | 4e7659aa0d5cf9935f268ca5ffab0a2554bd0104 /scripts/gdb/linux/mm.py | |
parent | 222c04550e2f6a145927ba2178e95777fe66d4d3 (diff) |
media: rkisp1: isp: Disallow multiple active sources
The ISP supports multiple source subdevs, but can only capture from a
single one at a time. The source is selected through link setup. The
driver finds the active source in its .s_stream() handler using the
media_entity_remote_pad() function. This fails to reject invalid
configurations with multiple active sources. Fix it by using the
media_pad_remote_pad_unique() helper instead, and inline
rkisp1_isp_get_source() in rkisp1_isp_s_stream() as the function is
small and has a single caller.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
Reviewed-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions