jacobfeder / axisfifo

Zynq SoC Linux kernel driver for Xilinx AXI-Stream FIFO IP
GNU General Public License v3.0
49 stars 26 forks source link

Use platform_get_irq to get IRQ #16

Closed lmunch closed 3 years ago

lmunch commented 3 years ago

If interrupt is connected to a GPIO, then the GPIO driver might not be ready when axis_fifo_probe is called and getting the IRQ resource with platform_get_resource will fail. Instead change to use platform_get_irq that will return EPROBE_DEFER to retry later.