From: Andre Wolokita Date: Mon, 16 Mar 2015 01:54:50 +0000 (+1100) Subject: hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG in init X-Git-Tag: omap-for-v4.2/o2_dc~130^2~79 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=656d7e7ee3f3dae71862054c0893546d261a1ee7;p=pandora-kernel.git hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG in init omap4_rng_init() checks bit 10 of the RNG_CONFIG_REG to determine whether the RNG is already running before performing any initiliasation. This is not the correct register to check, as the enable bit is in RNG_CONFIG_CONTROL. Read from RNG_CONTROL_REG instead. Signed-off-by: Andre Wolokita Signed-off-by: Herbert Xu --- Reading git-diff-tree failed