aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2017-07-13 10:57:40 +0200
committerDavid S. Miller <davem@davemloft.net>2017-07-13 09:21:15 -0700
commit0db01097cabd97897d123b4c5d805d1a7b061d82 (patch)
tree7b0b652874e6b5950eb84b437277fa0bd8e93020 /net/dccp/input.c
parentbpf: fix return in bpf_skb_adjust_net (diff)
downloadlinux-dev-0db01097cabd97897d123b4c5d805d1a7b061d82.tar.xz
linux-dev-0db01097cabd97897d123b4c5d805d1a7b061d82.zip
xgene: Don't fail probe, if there is no clk resource for SGMII interfaces
This change fixes following problem [ 1.827940] xgene-enet: probe of 1f210030.ethernet failed with error -2 which leads to a missing ethernet interface (reproducable at least on Gigabyte MP30-AR0 and APM Mustang systems). The check for a valid clk resource fails, because DT doesn't provide a clock for sgenet1. But the driver doesn't use this clk, if the ethernet port is connected via SGMII. Therefore this patch avoids probing for clk on SGMII interfaces. Fixes: 9aea7779b764 ("drivers: net: xgene: Fix crash on DT systems") Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
0 files changed, 0 insertions, 0 deletions