summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/microchip/ddr2.c
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-04-15 13:06:09 -0400
committerStefano Babic <sbabic@denx.de>2021-05-02 12:46:54 +0200
commitcd4359194ba5e3bb8706b3d4051ea967bf978595 (patch)
tree5d0438f67f019cb5ae361be5a0cec5cb9805b132 /drivers/ddr/microchip/ddr2.c
parenteccd132974f1f66247e72bbf3fd2bab71ab7d10e (diff)
downloadu-boot-cd4359194ba5e3bb8706b3d4051ea967bf978595.tar.gz
u-boot-cd4359194ba5e3bb8706b3d4051ea967bf978595.tar.xz
u-boot-cd4359194ba5e3bb8706b3d4051ea967bf978595.zip
net: fec: Only unregister MII bus if we registered it
If we fail to probe for whatever reason, we cannot unregister/free the MII bus unless we registered it with fec_get_miibus. This fixes FECs sharing an MDIO bus from destroying it, preventing the other FEC from using it. Fixes: 6a895d039b ("net: Update eQos driver and FEC driver to use eth phy interfaces") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions