[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YkwzOSR1yzspdCq3@lunn.ch>
Date: Tue, 5 Apr 2022 14:16:57 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Andy Chiu <andy.chiu@...ive.com>
Cc: davem@...emloft.net, michal.simek@...inx.com,
radhey.shyam.pandey@...inx.com, kuba@...nel.org, pabeni@...hat.com,
robh+dt@...nel.org, krzk+dt@...nel.org, linux@...linux.org.uk,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
Greentime Hu <greentime.hu@...ive.com>,
Robert Hancock <robert.hancock@...ian.com>
Subject: Re: [PATCH v8 net-next 1/4] net: axienet: setup mdio unconditionally
On Tue, Apr 05, 2022 at 05:19:26PM +0800, Andy Chiu wrote:
> The call to axienet_mdio_setup should not depend on whether "phy-node"
> pressents on the DT. Besides, since `lp->phy_node` is used if PHY is in
> SGMII or 100Base-X modes, move it into the if statement. And the next patch
> will remove `lp->phy_node` from driver's private structure and do an
> of_node_put on it right away after use since it is not used elsewhere.
>
> Signed-off-by: Andy Chiu <andy.chiu@...ive.com>
> Reviewed-by: Greentime Hu <greentime.hu@...ive.com>
> Reviewed-by: Robert Hancock <robert.hancock@...ian.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists