commit | ff076d7fcdb8d01fd4da4c3ea921aad8c81aacf5 | [log] [tgz] |
---|---|---|
author | Pankaj Bansal <pankaj.bansal@nxp.com> | Wed Oct 10 14:08:31 2018 +0530 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed Oct 10 12:43:18 2018 -0500 |
tree | 12746c8a1b45a1b2574f69b2acec1adcbc28e5c4 | |
parent | 1c2289d43be2c6605662281bb8b9ac2393146b28 [diff] |
driver: net: fsl-mc: fix error handing in init_phy if an error occurs during init_phy, we should free the phydev structure which has been allocated by phy_connect. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>