[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161009200629.GI12033@lunn.ch>
Date: Sun, 9 Oct 2016 22:06:29 +0200
From: Andrew Lunn <andrew@...n.ch>
To: "Allan W. Nielsen" <allan.nielsen@...rosemi.com>
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
raju.lakkaraju@...rosemi.com
Subject: Re: [PATCH net-next v9 1/1] net: phy: Cleanup the Edge-Rate feature
in Microsemi PHYs.
> Year... I was actually a bit confused about this... But assumed that you had
> some conventions about saving "input" configuration.
Nope.
Humm, actually, i messed up here and missed something. Sorry.
You should really do all the DT parsing in the probe function, or a
function it calls. We want the probe to return -EINVAL if the device
tree is invalid. Either you can program the magic value immediately,
if it will survive a reset, or save it in the private structure until
the init is called.
Andrew
Powered by blists - more mailing lists