Re: [rft/rfc/patch-v2.6.29-rc5+ 05/23] usb: host: ehci: use resource helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 23, 2009 at 05:29:38PM -0500, Josh Karabin wrote:
> > -	if (pdev->resource[1].flags != IORESOURCE_IRQ) {
> > -		dev_dbg(&pdev->dev, "resource[1] is not IORESOURCE_IRQ\n");
> > -		retval = -ENOMEM;
> > -	}
> > -
> 
> Your patch description doesn't explain why you removed this code.  Was it intentional?
> I didn't see that any of the helpers called below covered the case, but I didn't look too hard.

int irq = platform_get_irq(pdev, 0);

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux