summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFlorian Fainelli2018-10-10 01:48:58 +0200
committerDavid S. Miller2018-10-12 00:19:54 +0200
commit54baca096386d862d19c10f58f34bf787c6b3cbe (patch)
tree03791696cc800c5e8f1461b45f72d17893639e61 /include
parentnet: dsa: bcm_sf2: Fix unbind ordering (diff)
downloadkernel-qcow2-linux-54baca096386d862d19c10f58f34bf787c6b3cbe.tar.gz
kernel-qcow2-linux-54baca096386d862d19c10f58f34bf787c6b3cbe.tar.xz
kernel-qcow2-linux-54baca096386d862d19c10f58f34bf787c6b3cbe.zip
net: dsa: bcm_sf2: Call setup during switch resume
There is no reason to open code what the switch setup function does, in fact, because we just issued a switch reset, we would make all the register get their default values, including for instance, having unused port be enabled again and wasting power and leading to an inappropriate switch core clock being selected. Fixes: 8cfa94984c9c ("net: dsa: bcm_sf2: add suspend/resume callbacks") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions