mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
Disable PCMCIA for adm5120, request IRQ for the USB driver, fix duplicate lines in the GPIO code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7293 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -716,7 +716,12 @@ static int __init adm5120hcd_probe(struct platform_device *pdev)
|
||||
|
||||
data = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
addr = platform_get_resource(pdev, IORESOURCE_MEM, 1);
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
|
||||
if (request_irq(data.start, adm5120hcd_irq, 0, hcd_name, hcd)) {
|
||||
printk(KERN_WARNING "Could not request IRQ\n");
|
||||
err = -EBUSY;
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (!addr || !data || irq < 0) {
|
||||
err = -ENODEV;
|
||||
|
||||
Reference in New Issue
Block a user