diff options
| author | Tomi Valkeinen <[email protected]> | 2022-07-01 14:15:58 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-15 15:21:11 +0100 |
| commit | 982c0487185bd466059ff618f398a8d074ddb654 (patch) | |
| tree | 9977ce97937c1d730c417dc50499eb95a412db1a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | dbae22e2008ee6a3acf2b7d989800eff80f0aa1f (diff) | |
media: subdev: Add v4l2_subdev_call_state_try() macro
Add a helper macro for the situations where a non-MC driver needs to
call a state-operation (operation which takes a subdev state as a
parameter) in try-context in another subdev.
The macro allocates a new subdev state for the called subdev and frees
the state afterwards.
An example use case is a media platform driver testing if a
v4l2_subdev_format would be accepted by a source subdev.
This should not be used in MC drivers.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions