summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-16 17:23:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-16 17:23:15 +0200
commit90c80969145d006eb6294a3aa501d0e156f5e244 (patch)
treed90095c7a4bf0067a5bc167f02ddb2e11c7880eb /drivers
parentMerge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma... (diff)
parentvirtio: rng: add derating factor for use by hwrng core (diff)
downloadlinux-90c80969145d006eb6294a3aa501d0e156f5e244.tar.xz
linux-90c80969145d006eb6294a3aa501d0e156f5e244.zip
Merge branch 'rng-queue' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio
Pull virtio-rng update from Amit Shah: "Add derating factor for use by hwrng core Sending directly to you with the commit log changes Ted Ts'o pointed out. Not sure if Rusty's back after his travel, but this already has his s-o-b" * 'rng-queue' of git://git.kernel.org/pub/scm/linux/kernel/git/amit/virtio: virtio: rng: add derating factor for use by hwrng core
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/hw_random/virtio-rng.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index 0027137daa56..2e3139eda93b 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -116,6 +116,7 @@ static int probe_common(struct virtio_device *vdev)
.cleanup = virtio_cleanup,
.priv = (unsigned long)vi,
.name = vi->name,
+ .quality = 1000,
};
vdev->priv = vi;