diff options
| author | Tomi Valkeinen <[email protected]> | 2022-07-01 14:15:59 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 15:21:53 +0100 |
| commit | f076057f0107c3ef890bfad8d6658387504e7f11 (patch) | |
| tree | f85fddbc5ad188603fddaf3296868774d669bc15 /tools/perf/scripts/python/flamegraph.py | |
| parent | 982c0487185bd466059ff618f398a8d074ddb654 (diff) | |
media: stm32: dcmi: Fix subdev op call with uninitialized state
stm32-dcmi calls its source subdev with v4l2_subdev_call() using a
v4l2_subdev_state constructed on stack. This means that init_cfg is
never called for that state, and a source subdev that depends on the
init_cfg call may break.
A new macro has been added for this particular purpose, which properly
initializes the state, so let's use v4l2_subdev_call_state_try() here.
Signed-off-by: Tomi Valkeinen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Hans Verkuil <[email protected]>
Tested-by: Marek Vasut <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions