diff options
author | Sakari Ailus <[email protected]> | 2023-10-25 12:22:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2023-11-23 18:59:05 +0100 |
commit | 3591c53ae9eccafbeffa9ae2d1899873a5076a87 (patch) | |
tree | e8bfe3481b7fc5b7dfc6956540c81fc5046fdf80 /tools/perf/scripts/python | |
parent | 34dfd1dd52660dc85d43c92c2cb8029efb2bb8f3 (diff) |
media: v4l: subdev: Return NULL from pad access functions on error
Return NULL from sub-device pad state access functions
(v4l2_subdev_state_get_{format,crop,compose}) for non-existent pads. While
this behaviour differs from older set of pad state information access
functions, we've had a WARN_ON() there for a long time and callers also do
validate the pad index nowadays. Therefore problems are not expected.
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions