]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: fix the force speed doesn't work for RTL8156
authorHayes Wang <hayeswang@realtek.com>
Thu, 23 Dec 2021 09:27:01 +0000 (17:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Dec 2021 17:56:06 +0000 (09:56 -0800)
commita06fc6701707138abb085b13d9beff95a911dbf2
treef35f2ee1524a8f671bfbb5820d84a367a6513604
parentf82ddfc568c51828766d8cd5a7fb379e4a948b9a
r8152: fix the force speed doesn't work for RTL8156

It needs to set mdio force mode. Otherwise, link off always occurs when
setting force speed.

Fixes: 20d6936ad320 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c