diff options
author | Hans de Goede <[email protected]> | 2023-05-29 11:37:30 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:28:29 +0100 |
commit | 566f6de6aa283be619e870fae175404b447cdee1 (patch) | |
tree | dcd9bc62a39507449bbdd65dc8a281ef1791a968 /lib/memory-notifier-error-inject.c | |
parent | 7caa6570da6a21973340edf4075f31a59f08187a (diff) |
media: atomisp: Add target validation to atomisp_subdev_set_selection()
As the 2 comments in the function already say both the sink and the source
pads only support setting the selection for 1 target:
/* Only crop target supported on sink pad. */
/* Only compose target is supported on source pads. */
Validate that the passed in target actually matches these expectations.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions