diff options
| author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-15 17:17:08 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-23 09:06:43 +0100 |
| commit | 7193b3d0c850db575607e562695c950b95fc82ee (patch) | |
| tree | 4c4dc30ed75912686d2986c882694a931eefa86e /include/linux/netdev_features.h | |
| parent | 5d3d720df4a922e42d0590ddb3d685f1e0365c76 (diff) | |
net: phy: xgmiitorgmii: Support generic PHY status read
[ Upstream commit 197f9ab7f08ce4b9ece662f747c3991b2f0fbb57 ]
Some PHY drivers like the generic one do not provide a read_status
callback on their own but rely on genphy_read_status being called
directly.
With the current code, this results in a NULL function pointer call.
Call genphy_read_status instead when there is no specific callback.
Fixes: f411a6160bd4 ("net: phy: Add gmiitorgmii converter support")
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions
