commit | 1d5099152b0ad66b66848189c070e2fca349beaf | [log] [tgz] |
---|---|---|
author | Dafna Hirschfeld <dafna.hirschfeld@collabora.com> | Tue Sep 22 13:34:01 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Sun Sep 27 11:35:53 2020 +0200 |
tree | d817de990a888bb5e5b19c6288d4ea59dfa437f4 | |
parent | 816b07b6c1cdfc6b17106b5896be2fa3dfc18173 [diff] |
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>