summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-16 15:23:15 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-16 15:23:15 (GMT)
commit90c80969145d006eb6294a3aa501d0e156f5e244 (patch)
treed90095c7a4bf0067a5bc167f02ddb2e11c7880eb /drivers
parente64df3ebe8262c8203d1fe4f541e0241c3112c01 (diff)
parent34679ec7a0c45da8161507e1f2e1f72749dfd85c (diff)
downloadlinux-90c80969145d006eb6294a3aa501d0e156f5e244.tar.xz
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 0027137..2e3139e 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;