[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0ca9c6ce3ec7d49b03367413103a3c1f152ab546.camel@microchip.com>
Date: Mon, 15 Feb 2021 09:15:41 +0000
From: <Bjarni.Jonasson@...rochip.com>
To: <andrew@...n.ch>
CC: <linux-kernel@...r.kernel.org>, <UNGLinuxDriver@...rochip.com>,
<Steen.Hegelund@...rochip.com>, <linux@...linux.org.uk>,
<f.fainelli@...il.com>, <kuba@...nel.org>,
<netdev@...r.kernel.org>, <vladimir.oltean@....com>,
<davem@...emloft.net>, <hkallweit1@...il.com>,
<atenart@...nel.org>, <ioana.ciornei@....com>
Subject: Re: [PATCH net v1 1/3] net: phy: mscc: adding LCPLL reset to VSC8514
On Fri, 2021-02-12 at 16:20 +0100, Andrew Lunn wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> On Fri, Feb 12, 2021 at 03:06:41PM +0100, Bjarni Jonasson wrote:
> > +static u32 vsc85xx_csr_read(struct phy_device *phydev,
> > + enum csr_target target, u32 reg);
> > +static int vsc85xx_csr_write(struct phy_device *phydev,
> > + enum csr_target target, u32 reg, u32
> > val);
> > +
>
> Hi Bjarni
>
> No forward definitions please. Move the code around so they are not
> required. Sometimes it is best to do such a move as a preparation
> patch.
Sure, I will remove them.
>
> > @@ -1569,8 +1664,16 @@ static int vsc8514_config_pre_init(struct
> > phy_device *phydev)
> > {0x16b2, 0x00007000},
> > {0x16b4, 0x00000814},
> > };
> > + struct device *dev = &phydev->mdio.dev;
> > unsigned int i;
> > u16 reg;
> > + int ret;
>
> Hard to say from the limited context, but is reverse christmass tree
> being preserved here?
I will dobbelcheck.
>
> Andrew
Powered by blists - more mailing lists