commit | d5e32cc7c997d1d4f18031f5ff88512bd65118f7 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed May 14 19:32:13 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 15 16:48:38 2014 -0400 |
tree | c1ef1b747ba159966baa2177b519ce8c0395b9a5 | |
parent | 5f47dfb400d6a82d5ce9cdf537e33969af8278ff [diff] |
net: systemport: only update UMAC_CMD if something changed The link adjustment callback can be called as frequently as desired by the PHY library, as such, let's avoid doing a Read/Modify/Write sequence if nothing changed, which is more than likely since we are interfaced with a switch device. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>