From: Florian Fainelli Date: Thu, 15 May 2014 02:32:13 +0000 (-0700) Subject: net: systemport: only update UMAC_CMD if something changed X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5e32cc7c997d1d4f18031f5ff88512bd65118f7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed