]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - hypervisor/arch/arm/irqchip.c
arm: Remove SPI target reset on cell destruction
[jailhouse.git] / hypervisor / arch / arm / irqchip.c
index e3c813f89e7e796d2115535f3427003f5f38ea06..47673dd34f125845c7d458c5c3a8c2976f69edf6 100644 (file)
@@ -202,7 +202,8 @@ void irqchip_cell_exit(struct cell *cell)
                                chip->pin_bitmap[pos];
        }
 
-       irqchip.cell_exit(cell);
+       if (irqchip.cell_exit)
+               irqchip.cell_exit(cell);
 }
 
 void irqchip_root_cell_shrink(struct cell *cell)