summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-08-29 09:32:15 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-31 21:07:05 -0700
commitd9fe64e511144c1ee7d7555b4111f09dde9692ef (patch)
tree2e69c80dc328131d744ae10b494c227c0a659079 /net/switchdev/switchdev.c
parentc7735f1bac209e285839ccead00873b27afc013b (diff)
net: asix: Add in_pm parameter
From: Freddy Xin <freddy@asix.com.tw> In order to R/W registers in suspend/resume functions, in_pm flags are added to some functions to determine whether the nopm version of usb functions is called. Save BMCR and ANAR PHY registers in suspend function and restore them in resume function. Reset HW in resume function to ensure the PHY works correctly. Signed-off-by: Freddy Xin <freddy@asix.com.tw> Signed-off-by: Robert Foss <robert.foss@collabora.com> Tested-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions