ipq40xx: qca807x: add suspend and resume ops
authorSerhii Serhieiev <adron@mstnt.com>
Sun, 20 Mar 2022 18:26:32 +0000 (19:26 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 2 Oct 2022 21:04:39 +0000 (23:04 +0200)
commit12eebe8871e07fbfb5059f1877b413fa7a3d3c3a
tree81560f854030b25a2de93df293d5b23dc4ccb8e1
parent5293c0829047086566c0c5ef25005db74ce0d981
ipq40xx: qca807x: add suspend and resume ops

Currently, suspend and resume ops are not present, this means that if user
disables a DSA interface that the PHY-s remain alive and the link is up.

Fix it by using generic PHY suspend and resume ops.

Signed-off-by: Serhii Serhieiev <adron@mstnt.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/ipq40xx/files/drivers/net/phy/qca807x.c