lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH 31/37] Input: wm97xx-core - use IRQF_SAMPLE_RANDOM
    From
    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>
    Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
    ---
    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.rc2.6.gf58d



    \
     
     \ /
      Last update: 2008-04-21 15:29    [W:0.022 / U:30.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site