commit | 5bb8fc0d1073e867f381316cb1c348fa45e2d602 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Nov 11 20:00:08 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 12 13:55:35 2014 -0500 |
tree | d92b62f2a6c00e3248df2c99a757b58efe6e418b | |
parent | c88c7d3204e66faf1f24402d551ac1d0b400e3ff [diff] |
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: Johan Hovold <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>