aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-06-19 12:46:21 +0300
committerMark Brown <[email protected]>2023-06-19 12:59:28 +0100
commit8fba13f02c85b90deeba65a398f55d4b43a79595 (patch)
tree75220a644ba206a5349ab422c1b7f7a09e5bbc48 /scripts/gdb
parent2f76e1d6ca524a888d29aafe29f2ad2003857971 (diff)
ASoC: loongson: fix error codes in loongson_card_parse_acpi()
The acpi_node_get_property_reference() function returns kernel error codes and not ACPI error codes. So, although it does not affect the compiled code, using the ACPI_FAILURE() macro is wrong. Secondly, if the is_acpi_device_node() function returns false, then we should return -ENOENT instead of returning success. Fixes: d24028606e76 ("ASoC: loongson: Add Loongson ASoC Sound Card Support") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions