summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-03-26 20:58:24 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-27 06:29:51 +0300
commit8a8f8281e7e7a838b015276cce0443e319c5ebd6 (patch)
tree0e1f16a03c59ba56b65299849646417da8721c9c /tools/perf/scripts/python/export-to-postgresql.py
parent05cc6c5b6d2c1974d3b28b6c3708d7124b1eaa1f (diff)
downloadlinux-8a8f8281e7e7a838b015276cce0443e319c5ebd6.tar.xz
net: phy: don't touch suspended flag if there's no suspend/resume callback
So far we set phydev->suspended to true in phy_suspend() even if the PHY driver doesn't implement the suspend callback. This applies accordingly for the resume path. The current behavior doesn't cause any issue I'd be aware of, but it's not logical and misleading, especially considering the description of the flag: "suspended: Set to true if this phy has been suspended successfully" Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions