diff options
| author | Tomi Valkeinen <[email protected]> | 2021-03-04 14:45:20 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-03-22 10:17:56 +0100 |
| commit | b83209176d6892ea2e086d0f1d45fdd1cf5f8569 (patch) | |
| tree | b37ad5c16bd787dc65b5c7bbd02dc0b420bd004e /tools/perf/scripts/python | |
| parent | f9426edd5668ddc9bcc199721bf693efdfa92f0e (diff) | |
media: ti-vpe: cal: fix subdev mbus_code enumeration
The cal_ctx_v4l2_init_formats() function does not handle error values
correctly when calling enum_mbus_code in subdevs, causing an infinite
loop if the subdev's enum_mbus_code returns some other error than EINVAL.
Fix the error handling.
Signed-off-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions