diff options
| author | Laurent Pinchart <[email protected]> | 2021-04-13 04:29:56 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-05-23 19:21:32 +0200 |
| commit | 2cb7c5c08cf25b0d2d375732a76b1185c92a1853 (patch) | |
| tree | f818800aab7b9b66a0caceced074ab23e23e94d7 /tools/perf/scripts/python/bin | |
| parent | eed6a93044e38a63e397f7aef8dbc7ee667459fb (diff) | |
media: imx: imx7_mipi_csis: Minimize locking in get/set format
Reduce the code sections that are run with the lock held in the get/set
format handlers:
- mipi_csis_get_format() retrieves a pointer to the format, and thus
doesn't need locking as long as the arguments passed to the function
don't require locking either.
- sdformat is a structure passed by the caller, not an internal state,
and thus doesn't require locking.
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Rui Miguel Silva <[email protected]>
Tested-by: Frieder Schrempf <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions