mirror of
https://github.com/torvalds/linux.git
synced 2026-07-13 08:53:40 +02:00
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
Block a user