From: Keith Packard Date: Wed, 18 Mar 2015 07:17:00 +0000 (-0700) Subject: hwrng: core - allow perfect entropy from hardware devices X-Git-Tag: omap-for-v4.1/fixes-rc1~140^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=506bf0c0464ace57169aadcf02ae397999c57bdd;p=pandora-kernel.git hwrng: core - allow perfect entropy from hardware devices Hardware random number quality is measured from 0 (no entropy) to 1024 (perfect entropy). Allow hardware devices to assert the full range by truncating the device-provided value at 1024 instead of 1023. Signed-off-by: Keith Packard Signed-off-by: Herbert Xu --- Reading git-diff-tree failed