[PATCH v6 02/13] clk: qcom: gdsc: Prepare common clk probe to register gdscs

Stephen Boyd sboyd at codeaurora.org
Wed Jul 22 17:27:58 PDT 2015


On 07/22/2015 12:10 AM, Rajendra Nayak wrote:
> @@ -120,8 +121,20 @@ int qcom_cc_really_probe(struct platform_device *pdev,
>   
>   	ret = reset_controller_register(&reset->rcdev);
>   	if (ret)
> -		of_clk_del_provider(dev->of_node);
> +		goto err_reset;
>   
> +	if (desc->gdscs && desc->num_gdscs) {
> +		ret = gdsc_register(dev, desc->gdscs, desc->num_gdscs, regmap);
> +		if (ret)
> +			goto err_pd;
> +	}
> +
> +	return 0;
> +err_pd:
> +	dev_err(dev, "Failed to register power domains\n");

Let's just stay silent like we've been doing before.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project




More information about the linux-arm-kernel mailing list