mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1d04679395
commit
075cd14d2a
|
@ -86,7 +86,7 @@ int dwc3_get_device_id(void)
|
|||
id = -ENOMEM;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return id;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dwc3_get_device_id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue