]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: Replace the threaded interrupt with a hard interrupt
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 2 May 2019 22:00:44 +0000 (18:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 28 May 2019 16:22:50 +0000 (12:22 -0400)
commitee4abfbeba0789a40d9ebe8f5391b70575829e32
treeb30745528f7f1a7d14e3f87ac4daf538a0a0fb16
parent0102e6348bf3185d2a4064d75ed42735cc561c19
media: coda: Replace the threaded interrupt with a hard interrupt

The current interrupt handler is doing very little, and not doing
any non-atomic operations. Pretty much all it does is accessing
a couple registers, taking a couple spinlocks and then signalling
a completion.

There is no reason this should be a threaded interrupt handler,
so move the handler to regular hard interrupt context.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-common.c