Skip to content

Commit

Permalink
PHYTIUM: net: stmmac: phytium driver add pm support
Browse files Browse the repository at this point in the history
Test S3 with net device open will got this cut log.
...
   NETDEV WATCHDOG: eth0 (phytium-dwmac): transmit queue 0 timed out 8532ms
   WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x234/0x23c
...

Miss pm function in phytium_dwmac_driver.
So add it.

Signed-off-by: liutianyu1250 <liutianyu1250@phytium.com.cn>

Link: https://gitee.com/phytium_embedded/phytium-linux-kernel/commit/e4084ab6219ff1e5b2ad5cc68b58be491b3f448f
Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>
  • Loading branch information
liutianyu1250 authored and KexyBiscuit committed Nov 7, 2024
1 parent 126d82a commit 098141e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/stmicro/stmmac/dwmac-phytium.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ static struct platform_driver phytium_dwmac_driver = {
.remove = phytium_dwmac_remove,
.driver = {
.name = "phytium-dwmac",
.pm = &stmmac_pltfr_pm_ops,
.of_match_table = of_match_ptr(phytium_dwmac_of_match),
.acpi_match_table = ACPI_PTR(phytium_dwmac_acpi_ids),
},
Expand Down

0 comments on commit 098141e

Please sign in to comment.