From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] USB: EHCI: Don't use NO_IRQ in xilinx ehci driver Date: Fri, 13 Jan 2012 11:39:10 -0700 Message-ID: <20120113183910.GB22767@ponder.secretlab.ca> References: <4F10151A.8000209@petalogix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4F10151A.8000209-g5w7nrANp4BDPfheJLI6IQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Michal Simek Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Greg Kroah-Hartman , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alan Stern List-Id: devicetree@vger.kernel.org On Fri, Jan 13, 2012 at 12:27:22PM +0100, Michal Simek wrote: > Alan Stern wrote: > >On Thu, 12 Jan 2012, Michal Simek wrote: > > > >>Drivers shouldn't use NO_IRQ. This driver is used > >>by Microblaze and PPC. PPC defines NO_IRQ as 0 > >>and Microblaze has removed it. > >> > >>Signed-off-by: Michal Simek > >>CC: Alan Stern > >>CC: Greg Kroah-Hartman > >>CC: Grant Likely > >>CC: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > >>CC: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org > >>--- > >> drivers/usb/host/ehci-xilinx-of.c | 2 +- > >> 1 files changed, 1 insertions(+), 1 deletions(-) > >> > >>diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c > >>index 32793ce..9c2cc46 100644 > >>--- a/drivers/usb/host/ehci-xilinx-of.c > >>+++ b/drivers/usb/host/ehci-xilinx-of.c > >>@@ -183,7 +183,7 @@ static int __devinit ehci_hcd_xilinx_of_probe(struct platform_device *op) > >> } > >> irq = irq_of_parse_and_map(dn, 0); > >>- if (irq == NO_IRQ) { > >>+ if (!irq) { > >> printk(KERN_ERR "%s: irq_of_parse_and_map failed\n", __FILE__); > >> rv = -EBUSY; > >> goto err_irq; > > > >Acked-by: Alan Stern > > Thanks Alan. > > I have seen that Grant sent the same patch to lkml too. > Here is the thread: http://lkml.org/lkml/2012/1/11/342 > > Grant: How fast do you think you are able to merge your patches? Ignore my patch. It won't go in until 3.4 g.