mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ASoC: sh: rz-ssi: Fix error message print
The devm_request_irq() call is done for "dma_rt" interrupt but the error
message printed "dma_tx" interrupt on failure, fix this by updating
dma_tx -> dma_rt in dev_err_probe() message. While at it aligned the code.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fixes: 38c042b59a
("ASoC: sh: rz-ssi: Update interrupt handling for half duplex channels")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://msgid.link/r/20240130150822.327434-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
84b22af29f
commit
9a6d7c4fb2
@ -1015,7 +1015,7 @@ static int rz_ssi_probe(struct platform_device *pdev)
|
||||
dev_name(&pdev->dev), ssi);
|
||||
if (ret < 0)
|
||||
return dev_err_probe(&pdev->dev, ret,
|
||||
"irq request error (dma_tx)\n");
|
||||
"irq request error (dma_rt)\n");
|
||||
} else {
|
||||
if (ssi->irq_tx < 0)
|
||||
return ssi->irq_tx;
|
||||
|
Loading…
Reference in New Issue
Block a user