diff options
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-09-22 13:34:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-27 11:39:09 +0200 |
commit | 7eba47ab7a310ed845accab6e772d0364d75948f (patch) | |
tree | d5fb81e4bb303bfb7a0817c20e94a5b9f2502555 /drivers/staging/media/rkisp1/TODO | |
parent | 1d5099152b0ad66b66848189c070e2fca349beaf (diff) | |
download | linux-7eba47ab7a310ed845accab6e772d0364d75948f.tar.bz2 |
media: staging: rkisp1: cap: protect access to buf with the spin lock
The function 'rkisp1_stream_start' calls 'rkisp1_set_next_buf'
which access the buffers, so the call should be protected by
taking the cap->buf.lock.
After this patch, all locks are reviewed and commented so remove
the TODO item "review and comment every lock"
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/rkisp1/TODO')
-rw-r--r-- | drivers/staging/media/rkisp1/TODO | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/media/rkisp1/TODO b/drivers/staging/media/rkisp1/TODO index 9de4e44225e6..e7c8398fc2ce 100644 --- a/drivers/staging/media/rkisp1/TODO +++ b/drivers/staging/media/rkisp1/TODO @@ -1,6 +1,5 @@ * Fix pad format size for statistics and parameters entities. * Fix checkpatch errors. -* Review and comment every lock * Add uapi docs. Remember to add documentation of how quantization is handled. * streaming paths (mainpath and selfpath) check if the other path is streaming in several places of the code, review this, specially that it doesn't seem it |