summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-03-24 16:10:10 +0000
committerDavid S. Miller <davem@davemloft.net>2020-03-24 16:45:32 -0700
commitc312c7818b86b663d32ec5d4b512abf06b23899a (patch)
tree367a69d1ad6357f5247f92da1693751959ac08e7 /kernel/trace/trace_functions_graph.c
parent50e0d28d3808146cc19b0d5564ef4ba9e5bf3846 (diff)
net: phy: mdio-bcm-unimac: Fix clock handling
The DT binding for this PHY describes an *optional* clock property. Due to a bug in the error handling logic, we are actually ignoring this clock *all* of the time so far. Fix this by using devm_clk_get_optional() to handle this clock properly. Fixes: b78ac6ecd1b6b ("net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider") Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions