diff options
| author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2025-10-14 08:13:08 +0200 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-03-09 08:21:22 +0100 |
| commit | e0adbf74e2a0455a6bc9628726ba87bcd0b42bf8 (patch) | |
| tree | fd9fd99862b1fa42566eafa2be560585bb0029da /include/asm-powerpc/git@git.tavy.me:linux.git | |
| parent | 3f63297ff61a994b99d710dcb6dbde41c4003233 (diff) | |
dmaengine: xilinx: xdma: Fix regmap init error handling
devm_regmap_init_mmio returns an ERR_PTR() upon error, not NULL.
Fix the error check and also fix the error message. Use the error code
from ERR_PTR() instead of the wrong value in ret.
Fixes: 17ce252266c7 ("dmaengine: xilinx: xdma: Add xilinx xdma driver")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251014061309.283468-1-alexander.stein@ew.tq-group.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-powerpc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
