Skip to content

Commit 5ce728f

Browse files
Ansuelbebarino
authored andcommitted
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>
1 parent 8607fa1 commit 5ce728f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/qcom/gcc-ipq806x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ static int gcc_ipq806x_probe(struct platform_device *pdev)
30893089
regmap_write(regmap, 0x3cf8, 8);
30903090
regmap_write(regmap, 0x3d18, 8);
30913091

3092-
return 0;
3092+
return of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);
30933093
}
30943094

30953095
static struct platform_driver gcc_ipq806x_driver = {

0 commit comments

Comments
 (0)