media: rpivid: Add an enable count to irq claim Qs
authorJohn Cox <jc@kynesim.co.uk>
Thu, 11 Mar 2021 18:43:15 +0000 (18:43 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:15 +0000 (16:04 +0000)
commit288be32243ac75847c49303df2afef97fcb1f452
tree4b5e9e5e60ec16f979f97b35eb06d565de0d7938
parent2ab6825ad8d86e8ca65a92a0d596ae4fad2f77ba
media: rpivid: Add an enable count to irq claim Qs

Add an enable count to the irq Q structures to allow the irq logic to
block further callbacks if resources associated with the irq are not
yet available.

Signed-off-by: John Cox <jc@kynesim.co.uk>
drivers/staging/media/rpivid/rpivid.h
drivers/staging/media/rpivid/rpivid_hw.c
drivers/staging/media/rpivid/rpivid_hw.h