]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mdio: realtek-rtl9300: use command runner for read_c22()
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 27 May 2026 16:34:49 +0000 (18:34 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Jun 2026 02:06:50 +0000 (19:06 -0700)
commit2e3c28c715e913decf228dcd656bbb0dfc18133b
treead1f9dfedbad0c5eb112a653ff23b4259b5bd7d0
parentfcce51bfd4edc5cd4059f835315d227657bcf62e
net: mdio: realtek-rtl9300: use command runner for read_c22()

Convert the final missing read_c22() path to the new read enabled command
runner. Do it the same way as other implementations.

- bus calls otto_emdio_read_c22()
- this hands over to SoC specific otto_emdio_9300_read_c22()
- finally the registers are filled and the runner issued

With this cleanup remove the obsolete helper otto_emdio_wait_ready()

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260527163449.1294961-5-markus.stockhausen@gmx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/mdio/mdio-realtek-rtl9300.c