The touchscreen interrupt is driven by human input which can reasonably
be used to provide entropy.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/input/touchscreen/wm97xx-core.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c
index e27b1e0..fec07c2 100644
--- a/drivers/input/touchscreen/wm97xx-core.c
+++ b/drivers/input/touchscreen/wm97xx-core.c
@@ -355,7 +355,8 @@ static int wm97xx_init_pen_irq(struct wm97xx *wm)
* provided. */
BUG_ON(!wm->mach_ops->irq_enable);
- if (request_irq(wm->pen_irq, wm97xx_pen_interrupt, IRQF_SHARED,
+ if (request_irq(wm->pen_irq, wm97xx_pen_interrupt,
+ IRQF_SHARED | IRQF_SAMPLE_RANDOM,
"wm97xx-pen", wm)) {
dev_err(wm->dev,
"Failed to register pen down interrupt, polling");
--
1.5.5
--
| Andy Whitcroft | Re: 2.6.22 -mm merge plans -- pfn_valid_within |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Fernando Luis | [PATCH] affinity is not defined in non-smp kernels - x86_64 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Wink Saville | Using git with Eclipse |
| Andy Parkins | svn:externals using git submodules |
| Jan Wielemaker | [PATCH] git-shell and git-cvsserver |
| Alf Mikula | Migrating a git repository to subversion |
| Leon Dippenaar | New tcp stack attack |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| (private) HKS | Re: sshd_config(5) PermitRootLogin yes |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Pavel Emelyanov | [PATCH net-2.6.25 9/11][INET] Merge sys.net.ipv4.ip_forward and sys.net.ipv4.conf.... |
| Evgeniy Polyakov | Re: [Bugme-new] [Bug 10556] New: IPVS sync_backup oops |
| Johannes Berg | Re: wireless vs. alignment requirements |
