aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2022-08-23 17:11:36 +0200
committerMauro Carvalho Chehab <[email protected]>2022-09-24 08:42:42 +0200
commitc53e3a049f35978a150526671587fd46b1ae7ca1 (patch)
treeb854981f22794f7d12b095bb51e4af63b23ce97c /tools/perf/scripts/python
parent4b07e2b8f7b53e929a483320cd6c9c1cbd76e329 (diff)
media: rkisp1: Zero v4l2_subdev_format fields in when validating links
The local sd_fmt variable in rkisp1_capture_link_validate() has uninitialized fields, which causes random failures when calling the subdev .get_fmt() operation. Fix it by initializing the variable when declaring it, which zeros all other fields. 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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions