lkml.org 
[lkml]   [2012]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 01/14] rtc: ab8500-rtc: IRQF_ONESHOT when requesting a threaded IRQ
    From: Lee Jones <lee.jones@linaro.org>
    Date: Tue, 22 May 2012 15:25:09 +0100
    Subject: [PATCH 01/14] rtc: ab8500-rtc: IRQF_ONESHOT when requesting a
    threaded IRQ

    The kernel now forces IRQs to be ONESHOT if no IRQ handler is passed.

    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: rtc-linux@googlegroups.com
    Cc: stable@vger.kernel.org
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/rtc/rtc-ab8500.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c
    index 4bcf9ca..b11a2ec 100644
    --- a/drivers/rtc/rtc-ab8500.c
    +++ b/drivers/rtc/rtc-ab8500.c
    @@ -422,7 +422,7 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev)
    }

    err = request_threaded_irq(irq, NULL, rtc_alarm_handler,
    - IRQF_NO_SUSPEND, "ab8500-rtc", rtc);
    + IRQF_NO_SUSPEND | IRQF_ONESHOT, "ab8500-rtc", rtc);
    if (err < 0) {
    rtc_device_unregister(rtc);
    return err;
    --
    1.7.9.5

    \
     
     \ /
      Last update: 2012-06-12 11:42    [W:0.023 / U:1.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site