realtek: rtl83xx-phy: fix RTL8214FC media change
authorJan Hoffmann <jan@3e8.eu>
Sat, 23 Jul 2022 20:53:13 +0000 (22:53 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 28 Jul 2022 12:07:10 +0000 (14:07 +0200)
commitbac50e39a7b4f109bb5efed0738c9a896a1c140e
treedad42ef83dc3f0137d5eee7fdbb5f0bab33dbfbf
parentb2681e584c0674788fc1f11dd9950cb769d961e9
realtek: rtl83xx-phy: fix RTL8214FC media change

Toggle power on the individual PHY instead of the package. Otherwise
a media change always toggles power on the first port, and not the one
that is being configured.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
target/linux/realtek/files-5.10/drivers/net/phy/rtl83xx-phy.c