net: phy: micrel: fix config_intr error handling
Make sure never to update the control register with random data (an error code) by checking the return value after reading it. Signed-off-by: NJohan Hovold <johan@kernel.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录