Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 075cd14d authored by Dan Carpenter's avatar Dan Carpenter Committed by Felipe Balbi
Browse files

usb: dwc3: make dwc3_get_device_id() return the id



We always return zero instead of the id we found.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1d046793
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ int dwc3_get_device_id(void)
		id = -ENOMEM;
	}

	return 0;
	return id;
}
EXPORT_SYMBOL_GPL(dwc3_get_device_id);