]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
r8169: fix RTL8168EP take too long to complete driver initialization.
authorChunhao Lin <hau@realtek.com>
Tue, 30 Jan 2018 17:32:36 +0000 (01:32 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 13 Feb 2018 13:30:21 +0000 (07:30 -0600)
commit810d7eaf09dbaa4e51979e06bd98ec1d9599d348
tree0edb10dcdfb3d79302bdc2d3aa51e394734b711f
parentd02fe05d99fc59b23c02e84e4833311ca2d30ac3
r8169: fix RTL8168EP take too long to complete driver initialization.

BugLink: http://bugs.launchpad.net/bugs/1749191
[ Upstream commit 086ca23d03c0d2f4088f472386778d293e15c5f6 ]

Driver check the wrong register bit in rtl_ocp_tx_cond() that keep driver
waiting until timeout.

Fix this by waiting for the right register bit.

Signed-off-by: Chunhao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/realtek/r8169.c