summaryrefslogtreecommitdiff
path: root/drivers/opp
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2020-08-15 13:37:24 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-08-29 09:32:37 +0300
commit581214d3de99e3c0d7fef628dcdc455cbdc93a1d (patch)
treeb95e6eecc9e45b6eaf42afbbce523039971bee70 /drivers/opp
parentfb4ca983adafd6bba385386d24ba21295dbafe42 (diff)
downloadlinux-581214d3de99e3c0d7fef628dcdc455cbdc93a1d.tar.xz
media: staging: rkisp1: params: don't release lock in isr before buffer is done
In the irq handler 'rkisp1_params_isr', the lock 'config_lock' should be held as long as the current buffer is used. Otherwise the stop_streaming calback might remove it from the list and pass it to userspace while it is referenced in the irq handler. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Acked-by: Helen Koike <helen.koike@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/opp')
0 files changed, 0 insertions, 0 deletions