aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-06-14 10:46:06 -0700
committerStephen Boyd <sboyd@kernel.org>2019-06-17 07:13:54 -0700
commitc8edb316b9bb6149193436dfbd240994733e27be (patch)
treeeedfdd9b952a89bacfcca319b9bffbd322d57bb9 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
parentclk: tegra210: Fix default rates for HDA clocks (diff)
downloadlinux-dev-c8edb316b9bb6149193436dfbd240994733e27be.tar.xz
linux-dev-c8edb316b9bb6149193436dfbd240994733e27be.zip
clk: Do a DT parent lookup even when index < 0
We want to allow the parent lookup to happen even if the index is some value less than 0. This may be the case if a clk provider only specifies the .name member to match a string in the "clock-names" DT property. We shouldn't require that the index be >= 0 to make this use case work. Fixes: 601b6e93304a ("clk: Allow parents to be specified via clkspec index") Reported-by: Alexandre Mergnat <amergnat@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com> Cc: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c')
0 files changed, 0 insertions, 0 deletions