[PATCH v2 4/4] clk: imx: add clock driver for i.MX8MQ CCM

Shawn Guo shawnguo at kernel.org
Fri Feb 23 19:54:05 PST 2018


On Thu, Feb 01, 2018 at 06:54:12PM +0100, Lucas Stach wrote:
> +	for (i = 0; i < IMX8MQ_CLK_END; i++)
> +		if (IS_ERR(clks[i]))
> +			pr_err("i.MX8mq clk %u register failed with %ld\n",
> +			       i, PTR_ERR(clks[i]));

We have a helper imx_check_clocks() for this.

Shawn



More information about the linux-arm-kernel mailing list