mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
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>
This commit is contained in:
parent
8607fa1691
commit
5ce728fa78
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user