stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Dominique Martinet <dominique.martinet@atmark-techno.com>
Cc: "Lukas Wunner" <lukas@wunner.de>,
	stable@vger.kernel.org,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Matthias Schiffer" <matthias.schiffer@ew.tq-group.com>,
	"Roosen Henri" <Henri.Roosen@ginzinger.com>,
	linux-serial@vger.kernel.org,
	"Lino Sanfilippo" <LinoSanfilippo@gmx.de>,
	"Daisuke Mizobuchi" <mizo@atmark-techno.com>
Subject: Re: [PATCH 5.10 2/2] serial: Deassert Transmit Enable on probe in driver-specific way
Date: Mon, 17 Oct 2022 07:13:58 +0200	[thread overview]
Message-ID: <Y0zklpPzrpG2i7Cm@kroah.com> (raw)
In-Reply-To: <Y0y2pPwf2yxA2tQe@atmark-techno.com>

On Mon, Oct 17, 2022 at 10:57:56AM +0900, Dominique Martinet wrote:
> Dominique Martinet wrote on Mon, Oct 17, 2022 at 10:39:10AM +0900:
> > diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
> > index a2c4eab0b470..5ca61fa50efd 100644
> > --- a/drivers/tty/serial/fsl_lpuart.c
> > +++ b/drivers/tty/serial/fsl_lpuart.c
> > @@ -2667,10 +2667,6 @@ static int lpuart_probe(struct platform_device *pdev)
> >  	if (ret)
> >  		goto failed_irq_request;
> >  
> > -	ret = uart_add_one_port(&lpuart_reg, &sport->port);
> > -	if (ret)
> > -		goto failed_attach_port;
> > -
> >  	ret = uart_get_rs485_mode(&sport->port);
> >  	if (ret)
> >  		goto failed_get_rs485;
> > @@ -2683,6 +2679,9 @@ static int lpuart_probe(struct platform_device *pdev)
> >  		dev_err(&pdev->dev, "driver doesn't support RTS delays\n");
> >  
> >  	sport->port.rs485_config(&sport->port, &sport->port.rs485);
> 
> Ah, I've been quick on the review, sorry: this rs485_config() should
> probably be removed.
> (the similar uart_rs485_config() was removed in the upstream patch)
> 
> I'll send a v2 after this has gotten another review or when prompted,
> sorry for the trouble.

Please fix up and resend a v2.

thanks,

greg k-h

      reply	other threads:[~2022-10-17  5:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17  1:38 [PATCH 5.10 0/2] Stable 5.10 backport of RS485 initial polarity fix Dominique Martinet
2022-10-17  1:39 ` [PATCH 5.10 1/2] serial: core: move RS485 configuration tasks from drivers into core Dominique Martinet
2022-10-17  1:39 ` [PATCH 5.10 2/2] serial: Deassert Transmit Enable on probe in driver-specific way Dominique Martinet
2022-10-17  1:57   ` Dominique Martinet
2022-10-17  5:13     ` Greg Kroah-Hartman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y0zklpPzrpG2i7Cm@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=Henri.Roosen@ginzinger.com \
    --cc=LinoSanfilippo@gmx.de \
    --cc=dominique.martinet@atmark-techno.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=lukas@wunner.de \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=mizo@atmark-techno.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).