kernel: net: phy: realtek: fix rtl822x_probe on unsupported devices
authorMartin Schiller <ms@dev.tdt.de>
Tue, 27 Jun 2023 07:57:53 +0000 (09:57 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 27 Jun 2023 11:56:34 +0000 (13:56 +0200)
commit5af7d47cd7fb936dc7d640e1ba63443152d0416a
tree64bdf129c87094f09c6ab242d49a03b818571eca
parent539cb5389d9514c99ec1f87bd4465f77c7ed9b93
kernel: net: phy: realtek: fix rtl822x_probe on unsupported devices

Calling rtl822x_probe() on phy devices which uses the rtl822x_read_mmd()
and rtl822x_write_mmd() functions makes no sense and the probe ends with
an EOPNOTSUPP error.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
target/linux/generic/pending-5.15/729-net-phy-realtek-introduce-rtl822x_probe.patch
target/linux/generic/pending-5.15/730-net-phy-realtek-detect-early-version-of-RTL8221B.patch
target/linux/generic/pending-6.1/729-net-phy-realtek-introduce-rtl822x_probe.patch
target/linux/generic/pending-6.1/730-net-phy-realtek-detect-early-version-of-RTL8221B.patch