media: sunxi-cir: Remove unnecessary spinlock
authorSamuel Holland <samuel@sholland.org>
Mon, 18 Jan 2021 06:00:46 +0000 (07:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 07:26:08 +0000 (08:26 +0100)
commitd1036eb43f71b5f8051e42ea1504dd5fd303025d
tree238dfe856f3f636bd1bae7496bfef61989854a97
parent586bb700b3256a1cb38935f83c76e6522ac53d64
media: sunxi-cir: Remove unnecessary spinlock

Only one register, SUNXI_IR_CIR_REG, is accessed from outside the
interrupt handler, and that register is not accessed from inside it.
As there is no overlap between different contexts, no lock is needed.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/sunxi-cir.c