net: mdio: i2c: fix rollball accessors
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sat, 13 May 2023 08:57:27 +0000 (09:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 May 2023 09:15:57 +0000 (10:15 +0100)
commitb48a18644046c9bc0667493a147dfa01e8241eab
treef893e4bdf6e7e4222775ff6624b1d78814dbbc28
parent5306623a9826aa7d63b32c6a3803c798a765474d
net: mdio: i2c: fix rollball accessors

Commit 87e3bee0f247 ("net: mdio: i2c: Separate C22 and C45 transactions")
separated the non-rollball bus accessors, but left the rollball
accessors as is. As rollball accessors are clause 45, this results
in the rollball protocol being completely non-functional. Fix this.

Fixes: 87e3bee0f247 ("net: mdio: i2c: Separate C22 and C45 transactions")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-i2c.c