From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 3 Jan 2016 15:28:30 +0100 Subject: [U-Boot] [PATCH 2/2] net: fec_mxc: unregister mdio bus on probe error In-Reply-To: <1449589126-10530-2-git-send-email-mans@mansr.com> References: <1449589126-10530-1-git-send-email-mans@mansr.com> <1449589126-10530-2-git-send-email-mans@mansr.com> Message-ID: <5689300E.9040909@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/12/2015 16:38, Mans Rullgard wrote: > If fecmxc_initialize_multi() fails, it frees but does not unregister > the mdio bus, causing subsequent uses of the "mii" command to crash. > Fix this by adding mdio_unregister() calls where needed. > > Signed-off-by: Mans Rullgard > --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================