public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] dwmac-sun8i cleanup and shutdown hook
@ 2021-02-17  4:20 Samuel Holland
  2021-02-17  4:20 ` [PATCH net-next v2 1/5] net: stmmac: dwmac-sun8i: Return void from PHY unpower Samuel Holland
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Samuel Holland @ 2021-02-17  4:20 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, David S. Miller,
	Jakub Kicinski, Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec,
	Corentin Labbe
  Cc: Ondrej Jirman, netdev, linux-arm-kernel, linux-kernel,
	linux-sunxi, Samuel Holland

These patches clean up some things I noticed while fixing suspend/resume
behavior. The first four are minor code improvements. The last one adds
a shutdown hook to minimize power consumption on boards without a PMIC.

Changes v1 to v2:
  - Note the assumption of exclusive reset controller access in patch 3

Samuel Holland (5):
  net: stmmac: dwmac-sun8i: Return void from PHY unpower
  net: stmmac: dwmac-sun8i: Remove unnecessary PHY power check
  net: stmmac: dwmac-sun8i: Use reset_control_reset
  net: stmmac: dwmac-sun8i: Minor probe function cleanup
  net: stmmac: dwmac-sun8i: Add a shutdown callback

 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 33 ++++++++++++-------
 1 file changed, 21 insertions(+), 12 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2021-02-17 21:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-17  4:20 [PATCH net-next v2 0/5] dwmac-sun8i cleanup and shutdown hook Samuel Holland
2021-02-17  4:20 ` [PATCH net-next v2 1/5] net: stmmac: dwmac-sun8i: Return void from PHY unpower Samuel Holland
2021-02-17  4:20 ` [PATCH net-next v2 2/5] net: stmmac: dwmac-sun8i: Remove unnecessary PHY power check Samuel Holland
2021-02-17  4:20 ` [PATCH net-next v2 3/5] net: stmmac: dwmac-sun8i: Use reset_control_reset Samuel Holland
2021-02-17  4:20 ` [PATCH net-next v2 4/5] net: stmmac: dwmac-sun8i: Minor probe function cleanup Samuel Holland
2021-02-17  4:20 ` [PATCH net-next v2 5/5] net: stmmac: dwmac-sun8i: Add a shutdown callback Samuel Holland
2021-02-17 21:50 ` [PATCH net-next v2 0/5] dwmac-sun8i cleanup and shutdown hook patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox