diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2020-07-16 05:28:10 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-07-21 10:10:21 +0300 |
commit | 5ce728fa78ddbef667fd757ad008d33e39e7312a (patch) | |
tree | d73b912fadbb6ab4ec7de435be8172de33a589ae /drivers/clk/qcom/gcc-ipq806x.c | |
parent | 8607fa169178a4a38f232612e036def96b5ecd1d (diff) | |
download | linux-5ce728fa78ddbef667fd757ad008d33e39e7312a.tar.xz |
ipq806x: gcc: add support for child probe
Add support for child probing needed for tsens driver that share the
same regs of gcc for this platform.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/20200716022817.30439-2-ansuelsmth@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-ipq806x.c')
-rw-r--r-- | drivers/clk/qcom/gcc-ipq806x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c index a8456e09c44d..d6b7adb4be38 100644 --- a/drivers/clk/qcom/gcc-ipq806x.c +++ b/drivers/clk/qcom/gcc-ipq806x.c @@ -3089,7 +3089,7 @@ static int gcc_ipq806x_probe(struct platform_device *pdev) regmap_write(regmap, 0x3cf8, 8); regmap_write(regmap, 0x3d18, 8); - return 0; + return of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev); } static struct platform_driver gcc_ipq806x_driver = { |