diff options
| author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | 2020-09-22 13:34:01 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-27 11:35:53 +0200 |
| commit | 1d5099152b0ad66b66848189c070e2fca349beaf (patch) | |
| tree | d817de990a888bb5e5b19c6288d4ea59dfa437f4 /tools/perf/scripts/python | |
| parent | media: staging: rkisp1: params: no need to lock default config (diff) | |
| download | linux-1d5099152b0ad66b66848189c070e2fca349beaf.tar.gz linux-1d5099152b0ad66b66848189c070e2fca349beaf.zip | |
media: staging: rkisp1: use the right variants of spin_lock
When locking, use either 'spin_lock' or 'spin_lock_irq'
according to the context. There is nowhere need to
use 'spin_lock_irqsave'.
Outside of irq context, always use 'spin_lock_irq'
to be on the safe side.
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
