media: atomisp: Cleanup atomisp_isr_thread() spinlock handling
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Apr 2024 14:51:12 +0000 (15:51 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:05:13 +0000 (11:05 +0100)
commit8ddcec87f2d7f7c5d150884a2c496dd3b4817b40
tree8f39dfde69bbb953f2fd61cba3b576c9ec702215
parent8ff6604cd35e44a822a327ac981b0609c5d5cf83
media: atomisp: Cleanup atomisp_isr_thread() spinlock handling

Refactor the code a tiny bit to avoid the need to have 2 different
paths with spin_unlock_irqrestore() in there.

While at it also remove the non helpful dev_dbg() message.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c