Re: [PATCH net-next 1/3] net: phy: add register modifying helpers returning 1 on change

2019-02-10 Thread Florian Fainelli
Le 2/10/19 à 10:57 AM, Heiner Kallweit a écrit : > When modifying registers there are scenarios where we need to know > whether the register content actually changed. This patch adds > new helpers to not break users of the current ones, phy_modify() etc. > > Signed-off-by: Heiner Kallweit Review

Re: [PATCH net-next 1/3] net: phy: add register modifying helpers returning 1 on change

2019-02-10 Thread Andrew Lunn
On Sun, Feb 10, 2019 at 07:57:56PM +0100, Heiner Kallweit wrote: > When modifying registers there are scenarios where we need to know > whether the register content actually changed. This patch adds > new helpers to not break users of the current ones, phy_modify() etc. > > Signed-off-by: Heiner K

[PATCH net-next 1/3] net: phy: add register modifying helpers returning 1 on change

2019-02-10 Thread Heiner Kallweit
When modifying registers there are scenarios where we need to know whether the register content actually changed. This patch adds new helpers to not break users of the current ones, phy_modify() etc. Signed-off-by: Heiner Kallweit --- drivers/net/phy/phy-core.c | 127