aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto
diff options
context:
space:
mode:
authorDejin Zheng <zhengdejin5@gmail.com>2020-03-23 23:05:53 +0800
committerDavid S. Miller <davem@davemloft.net>2020-03-23 22:00:02 -0700
commitbd971ff0b73927b91f4520621d49d3a801ee4837 (patch)
tree87c54b5d994d482ea2ade2a9a9f2a4c5801f309e /crypto
parentiopoll: redefined readx_poll_timeout macro to simplify the code (diff)
downloadwireguard-linux-bd971ff0b73927b91f4520621d49d3a801ee4837.tar.xz
wireguard-linux-bd971ff0b73927b91f4520621d49d3a801ee4837.zip
net: phy: introduce phy_read_mmd_poll_timeout macro
it is sometimes necessary to poll a phy register by phy_read_mmd() function until its value satisfies some condition. introduce phy_read_mmd_poll_timeout() macros that do this. Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions