From: Andrew Lunn
Date: Tue, 1 Oct 2019 18:43:40 +0200
> On Tue, Oct 01, 2019 at 09:03:20AM -0700, David Miller wrote:
>> From: Oleksij Rempel
>> Date: Tue, 1 Oct 2019 08:41:47 +0200
>>
>> > @@ -571,7 +571,9 @@ static int ag71xx_mdio_probe(struct ag71xx *ag)
>> >msleep(200);
>> >
On Tue, Oct 01, 2019 at 09:03:20AM -0700, David Miller wrote:
> From: Oleksij Rempel
> Date: Tue, 1 Oct 2019 08:41:47 +0200
>
> > @@ -571,7 +571,9 @@ static int ag71xx_mdio_probe(struct ag71xx *ag)
> > msleep(200);
> > }
> >
> > - err = of_mdiobus_register(mii_bus, np);
> >
From: Oleksij Rempel
Date: Tue, 1 Oct 2019 08:41:47 +0200
> @@ -571,7 +571,9 @@ static int ag71xx_mdio_probe(struct ag71xx *ag)
> msleep(200);
> }
>
> - err = of_mdiobus_register(mii_bus, np);
> + mnp = of_get_child_by_name(np, "mdio");
> + err =
This patch is syncing driver with actual devicetree documentation:
Documentation/devicetree/bindings/net/qca,ar71xx.txt
|Optional subnodes:
|- mdio : specifies the mdio bus, used as a container for phy nodes
| according to phy.txt in the same directory
The driver was working with fixed phy
4 matches
Mail list logo