Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Sergei Shtylyov
Hello. On 09/26/2016 10:11 PM, Albert ARIBAUD (3ADEV) wrote: If the MDIO enf-of-transfer wait loop does not time out, 0 should be returned to the caller through ret, but ret was not reset to 0 after receiving the return value of pm_runtime_get_sync(). Reset ret when no time out occurred. Signe

Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD
Hi Fabio, You are correct -- I'd rebased my patch as part of a series, and I did not notice that the fix was already there. Apologies and thanks for pointing it out. Le Mon, 26 Sep 2016 18:00:32 -0300, Fabio Estevam a écrit : > Hi Albert, > > On Mon, Sep 26, 2016 at 4:11 PM, Albert ARIBAUD (3A

Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Fabio Estevam
Hi Albert, On Mon, Sep 26, 2016 at 4:11 PM, Albert ARIBAUD (3ADEV) wrote: > If the MDIO enf-of-transfer wait loop does not time out, > 0 should be returned to the caller through ret, but ret > was not reset to 0 after receiving the return value of > pm_runtime_get_sync(). Reset ret when no time o

Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD
... and of course I only see the typo /now/... Le Mon, 26 Sep 2016 21:11:40 +0200, "Albert ARIBAUD (3ADEV)" a écrit : > If the MDIO enf-of-transfer wait loop does not time out, ~~~ Make that "end-of-transfer". Should I post a v2? Cordialement, Albert ARIBAUD 3ADEV

[PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD (3ADEV)
If the MDIO enf-of-transfer wait loop does not time out, 0 should be returned to the caller through ret, but ret was not reset to 0 after receiving the return value of pm_runtime_get_sync(). Reset ret when no time out occurred. Signed-off-by: Albert ARIBAUD (3ADEV) --- drivers/net/ethernet/frees