summaryrefslogtreecommitdiff
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-08-16 10:13:02 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 15:15:00 +0300
commitcb7474949371ba8d7591a62924f05b627a2601d9 (patch)
treeb955604c97aee25488af1724241cf15dd3ed9357 /crypto/proc.c
parent9a6b2a87405a5022660022722d4a830b768e8033 (diff)
downloadlinux-cb7474949371ba8d7591a62924f05b627a2601d9.tar.xz
media: cec-pin: fix irq handling
The free_irq() function could be called from interrupt context, which is invalid. Move this to the thread. In the interrupt handler we just request that the thread disables the irq. This is done through an atomic so we don't need to add any spinlocks. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions