aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-10-25 09:06:52 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-15 08:11:41 +0000
commitfae46cb0531b45c789e39128f676f2bafa3a7b47 (patch)
tree09ffb16e344946b04dc6f4457df58dc891167d77 /tools/perf/scripts/python
parentmedia: atomisp: add NULL check for asd obtained from atomisp_video_pipe (diff)
media: atomisp: fix enum formats logic
Changeset 374d62e7aa50 ("media: v4l2-subdev: Verify v4l2_subdev_call() pad config argument") added an extra verification for a pads parameter for enum mbus format code. Such change broke atomisp, because now the V4L2 core refuses to enum MBUS formats if the state is empty. So, add .which field in order to select the active formats, in order to make it work again. While here, improve error messages. Fixes: 374d62e7aa50 ("media: v4l2-subdev: Verify v4l2_subdev_call() pad config argument") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions