Thread (11 messages) flat view 11 messages, 4 authors, 2026-04-16

Re: [PATCH v2] net: phy: air_en8811h: add AN8811HB MCU assert/deassert support

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2026-03-28 10:25:18
Also in: lkml

On Sat, Mar 28, 2026 at 11:21:59AM +0100, Eric Woudstra wrote:
static int air_pbus_reg_write(struct mdio_device *mdio, u32 pbus_address,
			      u32 pbus_data)
{
	int ret;

	mutex_lock(&mdio->bus->mdio_lock);
I wonder why we have phy_lock_mdio_bus() but not mdio_bus_lock()...
Should a helper be provided at mdio bus level to complement the PHY
level helper if we're going to have MDIO drivers directly manipulating
the lock?

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help