]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/dwc3/core.c
usb: dwc3: make dwc3_get_device_id() return the id
[karo-tx-linux.git] / drivers / usb / dwc3 / core.c
index 33d9868320130013bfe709f9733310128f47fe0f..3fd4e843139e6e0e8007a91fc9963233ff0a6d55 100644 (file)
@@ -86,7 +86,7 @@ again:
                id = -ENOMEM;
        }
 
-       return 0;
+       return id;
 }
 EXPORT_SYMBOL_GPL(dwc3_get_device_id);