[RFC PATCH net-next v3 05/15] net: dsa: mt7530: introduce mutex helpers

Andrew Lunn andrew at lunn.ch
Wed Mar 29 09:27:03 PDT 2023


On Wed, Mar 29, 2023 at 04:58:22PM +0100, Daniel Golle wrote:
> As the MDIO bus lock only needs to be involved if actually operating
> on an MDIO-connected switch we will need to skip locking for built-in
> switches which are accessed via MMIO.
> Create helper functions which simplify that upcoming change.
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the Linux-mediatek mailing list