Re: [PATCH RESEND net] net: phy: xgmiitorgmii: Support generic PHY status read
From: Andrew Lunn <andrew@lunn.ch>
Date: 2019-02-15 17:02:22
Also in:
linux-arm-kernel, lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2019-02-15 17:02:22
Also in:
linux-arm-kernel, lkml
On Fri, Feb 15, 2019 at 05:32:20PM +0100, Paul Kocialkowski wrote:
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 <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew