> -----Original Message----- > From: Michal Simek [mailto:michal.simek@xxxxxxxxxx] > Sent: Thursday, April 06, 2017 6:05 PM > To: Shubhrajyoti Datta <shubhraj@xxxxxxxxxx>; linux-serial@xxxxxxxxxxxxxxx > Cc: gregkh@xxxxxxxxxxxxxxxxxxx; michal.simek@xxxxxxxxxx > Subject: Re: [PATCH] serial: xuartps: Check for only ttyps nodes > > On 6.4.2017 11:57, Shubhrajyoti Datta wrote: > > Check for only ttyPS nodes instead of all the serial nodes. > > In case we have PL uarts the ids may be more than the available PS > > uarts. > > > > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> > > --- > > drivers/tty/serial/xilinx_uartps.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/tty/serial/xilinx_uartps.c > > b/drivers/tty/serial/xilinx_uartps.c > > index c053995..0e58e8e 100644 > > --- a/drivers/tty/serial/xilinx_uartps.c > > +++ b/drivers/tty/serial/xilinx_uartps.c > > @@ -1552,7 +1552,7 @@ static int cdns_uart_probe(struct platform_device > *pdev) > > dev_warn(&pdev->dev, "Unable to register clock > notifier.\n"); > > #endif > > /* Look for a serialN alias */ > > - id = of_alias_get_id(pdev->dev.of_node, "serial"); > > + id = of_alias_get_id(pdev->dev.of_node, CDNS_UART_TTY_NAME); > > if (id < 0) > > id = 0; > > > > > > I am not sure if I understand this. "serial" is alias keyword which should be > parse. ttyPS is not alias name. > > Can you please elaborate? I am not quite sure will get back This is being done drivers/tty/serial/st-asc.c > > Thanks, > Michal This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html