diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-13 04:29:56 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-23 19:21:32 +0200 |
commit | 2cb7c5c08cf25b0d2d375732a76b1185c92a1853 (patch) | |
tree | f818800aab7b9b66a0caceced074ab23e23e94d7 /tools/perf/scripts/python/exported-sql-viewer.py | |
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 <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions