Re: [PATCH 1/2] ARM: imx: Remove imx_add_imx_dma() unused irq_err argument

2020-07-12 Thread Shawn Guo
On Wed, Jul 01, 2020 at 05:10:39PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > No callers of imx_add_imx_dma() need an error IRQ, so they supply 0 as > "irq_err", which means we register a resource of IRQ 0, which is invalid > and causes a warning if used. > > Remove the "irq_err" argu

[PATCH 1/2] ARM: imx: Remove imx_add_imx_dma() unused irq_err argument

2020-07-01 Thread Bjorn Helgaas
From: Bjorn Helgaas No callers of imx_add_imx_dma() need an error IRQ, so they supply 0 as "irq_err", which means we register a resource of IRQ 0, which is invalid and causes a warning if used. Remove the "irq_err" argument altogether so there's no chance of trying to use the invalid IRQ 0. Fix