On Sun, Jul 30, 2017 at 09:10:44PM +0300, Sergei Shtylyov wrote: > of_irq_get() may return 0 as well as negative error number on failure, > while the driver only checks for the negative values. The driver would then > call request_irq(0, ...) in tegra_adma_alloc_chan_resources() and never get > valid channel interrupt. > > Check for 'tdc->irq <= 0' instead and return -ENXIO from the driver's probe > iff of_irq_get() returned 0. Applied, thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html