Re: [PATCH 1/1 linux-next] hwrng: update Freescale i.MX RNGA Random Number Generator

From: Arnd Bergmann
Date: Mon Aug 15 2016 - 11:06:17 EST


On Friday 12 August 2016, Fabian Frederick wrote:
> We can directly depend on SOC_IMX31 since
> commit c9ee94965dce
> ("ARM: imx: deconstruct mxc_rnga initialization")
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>

Did I cause a regression with my patch, without this change? If so, this should be
marked

Cc: stable@xxxxxxxxxxxxxxx
Fixes: c9ee94965dce ("ARM: imx: deconstruct mxc_rnga initialization")

and the patch applied ASAP.

> ---
> drivers/char/hw_random/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
> index 56ad5a59..8c0770b 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -244,7 +244,7 @@ config HW_RANDOM_TX4939
>
> config HW_RANDOM_MXC_RNGA
> tristate "Freescale i.MX RNGA Random Number Generator"
> - depends on ARCH_HAS_RNGA
> + depends on SOC_IMX31
> default HW_RANDOM

It would be nice to add "|| COMPILE_TEST here", but that should probably be
a separate patch, as we don't want to backport that or treat it as a bugfix.

Arnd