summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-altera-a10sr.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-06-15 21:06:54 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-15 23:23:35 +0200
commite4b7778769c25f773c514dcc99afcf7c74a9b3e4 (patch)
treeef5cc0006c329b562f16f026b856b3c701ce5c06 /drivers/gpio/gpio-altera-a10sr.c
parentMerge branch 'r8152-support-new-chips' (diff)
downloadlinux-e4b7778769c25f773c514dcc99afcf7c74a9b3e4.tar.xz
linux-e4b7778769c25f773c514dcc99afcf7c74a9b3e4.zip
net: dsa: assign default CPU port to all ports
The current code only assigns the default cpu_dp to all user ports of the switch to which the CPU port belongs. The user ports of the other switches of the fabric thus don't have a default CPU port. This patch fixes this by assigning the cpu_dp of all user ports of all switches of the fabric when the tree is fully parsed. Fixes: a29342e73911 ("net: dsa: Associate slave network device with CPU port") Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-altera-a10sr.c')
0 files changed, 0 insertions, 0 deletions