[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 12 Dec 2019 10:57:56 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: cristian.birsan@...rochip.com
Cc: woojung.huh@...rochip.com, UNGLinuxDriver@...rochip.com,
netdev@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: usb: lan78xx: Fix suspend/resume PHY register
access error
From: Cristian Birsan <cristian.birsan@...rochip.com>
Date: Thu, 12 Dec 2019 13:52:47 +0200
> Lan78xx driver accesses the PHY registers through MDIO bus over USB
> connection. When performing a suspend/resume, the PHY registers can be
> accessed before the USB connection is resumed. This will generate an
> error and will prevent the device to resume correctly.
> This patch adds the dependency between the MDIO bus and USB device to
> allow correct handling of suspend/resume.
>
> Fixes: ce85e13ad6ef ("lan78xx: Update to use phylib instead of mii_if_info.")
> Signed-off-by: Cristian Birsan <cristian.birsan@...rochip.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists