From: Tony Lindgren <tony@atomide.com>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
David Miller <davem@davemloft.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Sekhar Nori <nsekhar@ti.com>
Subject: Re: [PATCH net] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031
Date: Thu, 10 Jan 2019 13:24:46 -0800 [thread overview]
Message-ID: <20190110212446.GN5540@atomide.com> (raw)
In-Reply-To: <6d3b1dce-7633-51a1-0556-97cd03304c2c@gmail.com>
* Heiner Kallweit <hkallweit1@gmail.com> [190110 19:22]:
> So far genphy_soft_reset was used automatically if the PHY driver
> didn't implement the soft_reset callback. This changed with the
> mentioned commit and broke KSZ9031. To fix this configure the
> KSZ9031 PHY driver to use genphy_soft_reset.
>
> Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset")
> Reported-by: Tony Lindgren <tony@atomide.com>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Thanks this fixes the regression for me:
Tested-by: Tony Lindgren <tony@atomide.com>
> ---
> drivers/net/phy/micrel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
> index c33384710..7828d17f0 100644
> --- a/drivers/net/phy/micrel.c
> +++ b/drivers/net/phy/micrel.c
> @@ -1070,6 +1070,7 @@ static struct phy_driver ksphy_driver[] = {
> .driver_data = &ksz9021_type,
> .probe = kszphy_probe,
> .config_init = ksz9031_config_init,
> + .soft_reset = genphy_soft_reset,
> .read_status = ksz9031_read_status,
> .ack_interrupt = kszphy_ack_interrupt,
> .config_intr = kszphy_config_intr,
> --
> 2.20.1
>
next prev parent reply other threads:[~2019-01-10 21:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-10 19:22 [PATCH net] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031 Heiner Kallweit
2019-01-10 19:24 ` Florian Fainelli
2019-01-10 19:41 ` Heiner Kallweit
2019-01-10 21:27 ` Tony Lindgren
2019-01-10 21:29 ` Tony Lindgren
2019-01-11 11:22 ` Sekhar Nori
2019-01-10 21:24 ` Tony Lindgren [this message]
2019-01-13 5:14 ` Florian Fainelli
2019-01-16 5:41 ` David Miller
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=20190110212446.GN5540@atomide.com \
--to=tony@atomide.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.