]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: felix: directly call ocelot_port_{set,unset}_dsa_8021q_cpu
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 21 May 2022 21:37:41 +0000 (00:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2022 09:39:54 +0000 (10:39 +0100)
commit8c166acb60f8284470db673b6dccd43e6fedfae2
treec8fc86285ba753e8b153d3e8d26dd6c5534a3ec2
parenta72e23dd679c632bcf6ab47a3a1a58c1e777713a
net: dsa: felix: directly call ocelot_port_{set,unset}_dsa_8021q_cpu

Absorb the final details of calling ocelot_port_{,un}set_dsa_8021q_cpu(),
i.e. the need to lock &ocelot->fwd_domain_lock, into the callee, to
simplify the caller and permit easier code reuse later.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/ethernet/mscc/ocelot.c