[PATCH 1/9] Staging/iio/adc/touchscreen/MXS: add proper clock handling

Fabio Estevam fabio.estevam at freescale.com
Mon Sep 23 11:13:03 EDT 2013


On 09/23/2013 11:36 AM, Juergen Beisert wrote:

> +	lradc->clk = devm_clk_get(&pdev->dev, NULL);
> +	clk_prepare_enable(lradc->clk);

clk_prepare_enable() may fail, so better check its return value.




More information about the linux-arm-kernel mailing list