mbox series

[0/2] use readl_poll_timeout() function

Message ID 20200206142404.24980-1-zhengdejin5@gmail.com (mailing list archive)
Headers show
Series use readl_poll_timeout() function | expand

Message

Dejin Zheng Feb. 6, 2020, 2:24 p.m. UTC
This patch series just for use readl_poll_timeout() function
to replace the open coded handling of use readl_poll_timeout()
in the stmmac driver. There are two modification positions,
the one in the init_systime() function and the other in the
dwmac4_dma_reset() function.

Dejin Zheng (2):
  net: stmmac: use readl_poll_timeout() function in init_systime()
  net: stmmac: use readl_poll_timeout() function in dwmac4_dma_reset()

 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c   | 14 ++++++--------
 .../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c  | 14 ++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)

Comments

David Miller Feb. 6, 2020, 2:51 p.m. UTC | #1
From: Dejin Zheng <zhengdejin5@gmail.com>
Date: Thu,  6 Feb 2020 22:24:02 +0800

> This patch series just for use readl_poll_timeout() function
> to replace the open coded handling of use readl_poll_timeout()
> in the stmmac driver. There are two modification positions,
> the one in the init_systime() function and the other in the
> dwmac4_dma_reset() function.

This is a cleanup and thus appropriate only for net-next, which
is closed right now.

When you submit networking patches you must indicate the tree
you are targetting in the Subject line, for example:

	Subject: [PATCH net-next 0/2] ...

Thank you.