diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-02-04 16:37:14 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-03-02 12:12:02 +0200 |
commit | 075cd14d2a8d35afc39ad28fc7b968275881266b (patch) | |
tree | c15c0a9cda89d3c0084cdf527c612319e5e79701 /drivers/usb | |
parent | 1d046793958f128dd43d42a4a0dac48bf6914273 (diff) | |
download | op-kernel-dev-075cd14d2a8d35afc39ad28fc7b968275881266b.zip op-kernel-dev-075cd14d2a8d35afc39ad28fc7b968275881266b.tar.gz |
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/dwc3/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 33d9868..3fd4e84 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -86,7 +86,7 @@ again: id = -ENOMEM; } - return 0; + return id; } EXPORT_SYMBOL_GPL(dwc3_get_device_id); |