Thread (3 messages) flat view 3 messages, 2 authors, 2016-02-15

Re: [PATCH v2] phy: marvell: Fix and unify reg-init behavior

From: Clemens Gruber <hidden>
Date: 2016-02-15 22:34:29
Also in: lkml

Hi Fabio,

On Mon, Feb 15, 2016 at 06:54:29PM -0200, Fabio Estevam wrote:
On Mon, Feb 15, 2016 at 6:01 PM, Clemens Gruber
[off-list ref] wrote:
quoted
+static int marvell_config_init(struct phy_device *phydev)
+{
+       int err;
+
+       /* Set registers from marvell,reg-init DT property */
+       err = marvell_of_reg_init(phydev);
+       if (err < 0)
+               return err;
+
+       return 0;
 }
Couldn't this be replaced by

return marvell_of_reg_init(phydev); ?
I wanted to add some missing errata fixes from the Marvell Release Notes
into that function (in the near future).
But you are right, I should probably not change things preemptively.

I'll send a v3 with that part replaced!

Thanks,
Clemens
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help