Skip to content
Commit 91195700 authored by Meng Li's avatar Meng Li Committed by David S. Miller
Browse files

net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform



According to upstream commit 5ec55823("net: stmmac:
add clocks management for gmac driver"), it improve clocks
management for stmmac driver. So, it is necessary to implement
the runtime callback in dwmac-socfpga driver because it doesn't
use the common stmmac_pltfr_pm_ops instance. Otherwise, clocks
are not disabled when system enters suspend status.

Fixes: 5ec55823 ("net: stmmac: add clocks management for gmac driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b06cf78f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment