net: phy: Add phy_read_mmd_poll_timeout() from Linux
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 19 Mar 2023 17:08:08 +0000 (18:08 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 12:21:37 +0000 (14:21 +0200)
commit1f614d524617f6f6e2383e3e490729d9fe929235
tree038b61033b74deccfe42a3e6938876f108c2d449
parent87b7502824416d606d976f635a9a4eef4923ffee
net: phy: Add phy_read_mmd_poll_timeout() from Linux

Add phy_read_mmd_poll_timeout() from Linux 5.7.y as of commit
bd971ff0b7392 ("net: phy: introduce phy_read_mmd_poll_timeout macro")
This is used by the upcoming Marvell 10G PHY driver.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
include/phy.h