We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9c708 commit 9d94c58Copy full SHA for 9d94c58
sound/hda/intel-sdw-acpi.c
@@ -63,7 +63,6 @@ sdw_intel_scan_controller(struct sdw_intel_acpi_info *info)
63
return -EINVAL;
64
65
/* Found controller, find links supported */
66
- count = 0;
67
ret = fwnode_property_read_u8_array(acpi_fwnode_handle(adev),
68
"mipi-sdw-master-count", &count, 1);
69
@@ -82,7 +81,7 @@ sdw_intel_scan_controller(struct sdw_intel_acpi_info *info)
82
81
if (ret) {
83
dev_err(&adev->dev,
84
"Failed to read mipi-sdw-master-count: %d\n", ret);
85
- return -EINVAL;
+ return ret;
86
}
87
88
/* Check count is within bounds */
0 commit comments