ipq40xx: fix invalid GPIO numbers since kernel 6.6
[openwrt/staging/xback.git] / target / linux / lantiq / patches-5.15 / 0734-net-dsa-lantiq_gswip-Don-t-manually-call-gswip_port_.patch
1 From 8cf0b680abc157adeec3fb93a10354c470694535 Mon Sep 17 00:00:00 2001
2 From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
3 Date: Thu, 28 Jul 2022 22:37:11 +0200
4 Subject: [PATCH 734/768] net: dsa: lantiq_gswip: Don't manually call
5 gswip_port_enable()
6
7 We don't need to manually call gswip_port_enable() from within
8 gswip_setup() for the CPU port. DSA does this automatically for us.
9
10 Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
11 ---
12 drivers/net/dsa/lantiq_gswip.c | 2 --
13 1 file changed, 2 deletions(-)
14
15 --- a/drivers/net/dsa/lantiq_gswip.c
16 +++ b/drivers/net/dsa/lantiq_gswip.c
17 @@ -874,8 +874,6 @@ static int gswip_setup(struct dsa_switch
18
19 ds->mtu_enforcement_ingress = true;
20
21 - gswip_port_enable(ds, cpu_port, NULL);
22 -
23 ds->configure_vlan_while_not_filtering = false;
24
25 return 0;