]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-dev: Use non-atomic bitmap API when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 27 Nov 2021 14:46:39 +0000 (15:46 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 12:20:35 +0000 (13:20 +0100)
commit109307e1bcb9fdb538fc5d9b0532968324a59427
tree4c519367a51e291cff34e0e0acfcdd19deef0cf7
parent332db5ae7a604400844ce2ec7636f6beab29d09a
media: v4l2-dev: Use non-atomic bitmap API when applicable

No concurrent access is possible when a bitmap is local to a function.
So prefer the non-atomic '__[set|clear]_bit()' functions to save a few
cycles.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-dev.c