diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-10 17:21:37 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-10 13:31:40 +0100 |
| commit | cb32e3acb1036b2c2d5a5df1e19986ccd1fff9ed (patch) | |
| tree | a15cb2527769104dd8b0793b036b61dc7626646e /tools/perf/scripts/python | |
| parent | 14b68141bcffafde22848c18569e821675afe9e6 (diff) | |
ASoC: xilinx: xlnx_spdif: Preserve devm_request_irq() error codes
devm_request_irq() can return various error codes, such as -EINVAL,
-ENOTCONN, -ENOMEM, -ENOSYS, and -EBUSY. However, the driver
overwrites all of them with -ENODEV, which hides the actual cause of
the failure.
Also, devm_request_irq() already reports failures internally, so the
additional dev_err() call is redundant.
Return the original error code and remove the duplicate error message.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://patch.msgid.link/20260710102138.29347-3-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
