]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-switch: do not enable the DPSW at probe time
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 3 Aug 2021 16:57:40 +0000 (19:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Aug 2021 08:53:34 +0000 (09:53 +0100)
commit2e0cda0d5b98809903d2d36a189daadb1c7f5de3
tree08184d324a351f4daaa0db488f3ae24ff3afc547
parent17deb839c286ded68a86f4dc33b926d9e9bd2249
dpaa2-switch: do not enable the DPSW at probe time

We should not enable the switch interfaces at probe time since this is
trigged by the open callback. Remove the call dpsw_enable() which does
exactly this.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c