If the Thunderbolt domain adding fails for some reason we currently
always return -EIO instead of the real error code. To make debugging
easier return the actual error code instead.
Signed-off-by: Mika Westerberg
Reviewed-by: Andy Shevchenko
If the Thunderbolt domain adding fails for some reason we currently
always return -EIO instead of the real error code. To make debugging
easier return the actual error code instead.
Signed-off-by: Mika Westerberg
Reviewed-by: Andy Shevchenko
---
drivers/thunderbolt/nhi.c | 2 +-
1 file
2 matches
Mail list logo