diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-07-21 17:42:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-21 19:49:11 -0700 |
commit | 240524089d7a5c0396656574e299beb3a55461e3 (patch) | |
tree | 21f67515090c5233e3480600af7b95aa2f953985 /virt | |
parent | bb1fed7110c287024dce6bee8152aad903104d96 (diff) | |
download | linux-240524089d7a5c0396656574e299beb3a55461e3.tar.bz2 |
net: bcmgenet: 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, since these register accesses can be
expensive.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions