diff options
author | Dafna Hirschfeld <[email protected]> | 2020-07-14 14:38:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 14:04:34 +0200 |
commit | 454748e3b3529218a50920e643dab6f149ab2639 (patch) | |
tree | f071b3d51d649a65f803e00b7045773a8d573e81 /drivers/usb/cdns3/cdns3-debug.h | |
parent | aa86e0bbf2ee3fe338798af78f02b5e6088b50c1 (diff) |
media: staging: rkisp1: cap: protect buf.curr and buf.next with buf.lock
The spinlock buf.lock should protect access to the buffers.
This includes the buffers in buf.queue and also buf.curr and
buf.next. The function 'rkisp1_set_next_buf' access buf.next
therefore it should also be protected with the lock.
Signed-off-by: Dafna Hirschfeld <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions