diff options
| author | 2026-07-10 17:21:37 +0700 | |
|---|---|---|
| committer | 2026-07-10 13:31:40 +0100 | |
| commit | cb32e3acb1036b2c2d5a5df1e19986ccd1fff9ed (patch) | |
| tree | a15cb2527769104dd8b0793b036b61dc7626646e /tools/lib/python/kdoc/python_version.py | |
| parent | ASoC: xilinx: xlnx_i2s: Use dev_err_probe() and drop redundant error handling (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/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
