Re: [PATCH RESEND net] net: phy: xgmiitorgmii: Support generic PHY status read

From: Andrew Lunn
Date: Fri Feb 15 2019 - 12:02:23 EST

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 <paul.kocialkowski@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>