netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: stmmac: dwc-qos: Add suspend / resume support
@ 2017-09-26 10:43 Ed Blake
  2017-09-28 17:19 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Blake @ 2017-09-26 10:43 UTC (permalink / raw)
  To: peppe.cavallaro, alexandre.torgue; +Cc: netdev, Ed Blake

Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
index dd6a2f9..5efef80 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
@@ -511,6 +511,7 @@ static int dwc_eth_dwmac_remove(struct platform_device *pdev)
 	.remove = dwc_eth_dwmac_remove,
 	.driver = {
 		.name           = "dwc-eth-dwmac",
+		.pm             = &stmmac_pltfr_pm_ops,
 		.of_match_table = dwc_eth_dwmac_match,
 	},
 };
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: stmmac: dwc-qos: Add suspend / resume support
  2017-09-26 10:43 [PATCH] net: stmmac: dwc-qos: Add suspend / resume support Ed Blake
@ 2017-09-28 17:19 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-09-28 17:19 UTC (permalink / raw)
  To: ed.blake; +Cc: peppe.cavallaro, alexandre.torgue, netdev

From: Ed Blake <ed.blake@sondrel.com>
Date: Tue, 26 Sep 2017 11:43:46 +0100

> Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.
> 
> Signed-off-by: Ed Blake <ed.blake@sondrel.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-28 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26 10:43 [PATCH] net: stmmac: dwc-qos: Add suspend / resume support Ed Blake
2017-09-28 17:19 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).