usb: dwc3: make dwc3_get_device_id() return the id
Subsystems (3)
PATCH 1/1 usb: dwc3: make dwc3_get_device_id() return the id
We always return zero instead of the id we found.
---
I don't have this hardware so it's not tested.
drivers/usb/dwc3/core.c +1 -1
@@ -86,7 +86,7 @@ again: id = -ENOMEM ; } -return 0 ; +return id; }EXPORT_SYMBOL_GPL (dwc3_get_device_id);
Felipe Balbi
AppliedQuoted 3 lines · Dan Carpenter
We always return zero instead of the id we found.
Signed-off-by Dan Carpenter <[email protected]>
Applied, thanks
Quoted 2 lines
---
I don't have this hardware so it's not tested.
This one is so obvious that I can't even believe we haven't seen that before, thanks ;-)
Signature · 1 line
balbi
Am 06.02.2012 07:44, schrieb Felipe Balbi:
Quoted 5 lines · Dan Carpenter
Quoted 3 lines
We always return zero instead of the id we found.
Signed-off-by Dan Carpenter <[email protected]>
Quoted 8 lines
Applied, thanks
Quoted 2 lines
---
I don't have this hardware so it's not tested.This one is so obvious that I can't even believe we haven't seen that before, thanks ;-)
i was wondering why the driver worked at all, do you realy need that ?
re,
wh
Quoted 10 lines · walter harms
Am 06.02.2012 07:44, schrieb Felipe Balbi:
Quoted 7 lines · Dan Carpenter
Quoted 3 lines
We always return zero instead of the id we found.
Signed-off-by Dan Carpenter <[email protected]>Applied, thanks
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
---
I don't have this hardware so it's not tested.This one is so obvious that I can't even believe we haven't seen that before, thanks ;-)
i was wondering why the driver worked at all, do you realy need that ?
as of now we don't have usecases for that. But since it can work on PCIe, I was thinking of building an automated testmachine with two of those devices ;-)
Signature · 1 line
balbi