diff --git a/drivers/media/platform/bcm2835/bcm2835-unicam.c b/drivers/media/platform/bcm2835/bcm2835-unicam.c index 6fd1b0939a07a3..aadc2ab6ec9113 100644 --- a/drivers/media/platform/bcm2835/bcm2835-unicam.c +++ b/drivers/media/platform/bcm2835/bcm2835-unicam.c @@ -766,12 +766,6 @@ static int unicam_all_nodes_streaming(struct unicam_device *dev) return ret; } -static int unicam_all_nodes_disabled(struct unicam_device *dev) -{ - return !dev->node[IMAGE_PAD].streaming && - !dev->node[METADATA_PAD].streaming; -} - static void unicam_queue_event_sof(struct unicam_device *unicam) { struct v4l2_event event = { @@ -801,15 +795,6 @@ static irqreturn_t unicam_isr(int irq, void *dev) u64 ts; int i; - /* - * Don't service interrupts if not streaming. - * Avoids issues if the VPU should enable the - * peripheral without the kernel knowing (that - * shouldn't happen, but causes issues if it does). - */ - if (unicam_all_nodes_disabled(unicam)) - return IRQ_HANDLED; - sta = reg_read(cfg, UNICAM_STA); /* Write value back to clear the interrupts */ reg_write(cfg, UNICAM_STA, sta);