Date:2010-07-08 15:43:41 (13 years 5 months ago)
Author:Lars C.
Commit:afd30954ed079cda29a5e5211b31f44cbbea3742
Message:USB: ohci-jz4740: Fix error codes returned when resources are missing

Files: drivers/usb/host/ohci-jz4740.c (1 diff)

Change Details

drivers/usb/host/ohci-jz4740.c
144144
145145    if (!res) {
146146        dev_err(&pdev->dev, "Failed to get platform resource\n");
147        return -ENOENT;
147        return -ENXIO;
148148    }
149149
150150    irq = platform_get_irq(pdev, 0);

Archive Download the corresponding diff file



interactive