X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Famba%2Fbus.c;h=a56fa2a1e9aaf74b772a19fc8a00538933b71974;hb=997b611baf7591ea5119539ee821a3e2f4fcf24e;hp=a5b5c87e21149f4df50d6dc21e6de016bbae29af;hpb=df253e8454de6f85636aa4d9d99555fbcad6f580;p=cascardo%2Flinux.git diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index a5b5c87e2114..a56fa2a1e9aa 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -19,6 +19,7 @@ #include #include #include +#include #include @@ -237,6 +238,10 @@ static int amba_probe(struct device *dev) int ret; do { + ret = of_clk_set_defaults(dev->of_node, false); + if (ret < 0) + break; + ret = dev_pm_domain_attach(dev, true); if (ret == -EPROBE_DEFER) break;