[PATCH 2/2] hw_random: add driver for atmel true hardware random number generator
Mark Brown
broonie at opensource.wolfsonmicro.com
Thu Oct 6 11:49:07 EDT 2011
On Thu, Oct 06, 2011 at 05:41:34PM +0200, Peter Korsgaard wrote:
> + trng->clk = clk_get(&pdev->dev, NULL);
> + if (IS_ERR(trng->clk))
> + return PTR_ERR(trng->clk);
> +
> + ret = clk_enable(trng->clk);
> + if (ret)
> + goto err_enable;
Is it worth enabling the hardware enabled only when the device is open?
More information about the linux-arm-kernel
mailing list