mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v1] phy: avoid adjust_link call if link remains down
Date: Wed, 29 May 2024 08:54:57 +0200	[thread overview]
Message-ID: <ZlbRQV1_TymJH6kB@pengutronix.de> (raw)
In-Reply-To: <ZlbKFSPGgkD3MBNK@pengutronix.de>

On Wed, May 29, 2024 at 08:24:21AM +0200, Sascha Hauer wrote:
> > +	if (!phydev->link && phydev->link == oldlink)
> > +		return 0;
> 
> I've changed the check to (!phydev->link && !oldlink) which is a bit
> easier to read.

Thank you! :)

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      reply	other threads:[~2024-05-29  6:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-29  5:03 Oleksij Rempel
2024-05-29  6:22 ` Sascha Hauer
2024-05-29  6:24 ` Sascha Hauer
2024-05-29  6:54   ` Oleksij Rempel [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=ZlbRQV1_TymJH6kB@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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