mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 22:59:03 -04:00
tty: serial: fsl_lpuart: Make interrupt name distinct
SoCs like the i.MX93 have several lpuart interfaces, but fsl_lpuart uses the driver name to request the IRQ. This makes it hard to identify interfaces from outputs like /proc/interrupts . So use the dev_name() for requesting instead. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Reviewed-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20250205091007.4528-1-wahrenst@gmx.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b6ad40c002
commit
b5bbace353
@@ -2954,7 +2954,7 @@ static int lpuart_probe(struct platform_device *pdev)
|
||||
goto failed_attach_port;
|
||||
|
||||
ret = devm_request_irq(&pdev->dev, sport->port.irq, handler, 0,
|
||||
DRIVER_NAME, sport);
|
||||
dev_name(&pdev->dev), sport);
|
||||
if (ret)
|
||||
goto failed_irq_request;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user