lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] mfd: asic3: Avoid unbalanced irq wakeup enables/disables
    Hi Paul,

    On Wed, Apr 11, 2012 at 12:35:34AM +0100, Paul Parsons wrote:
    > The mfd/asic3 driver does not currently define a irq_set_wake() handler.
    > Consequently any attempt to configure the 3 ASIC3 GPIO buttons - RECORD,
    > CALENDAR, HOME - as wakeup sources results in Unbalanced IRQ warnings
    > when the system is woken from sleep mode:
    >
    > WARNING: at kernel/irq/manage.c:520 irq_set_irq_wake+0xc4/0xf8()
    > Unbalanced IRQ 342 wake disable
    > ...
    > WARNING: at kernel/irq/manage.c:520 irq_set_irq_wake+0xc4/0xf8()
    > Unbalanced IRQ 337 wake disable
    > ...
    > WARNING: at kernel/irq/manage.c:520 irq_set_irq_wake+0xc4/0xf8()
    > Unbalanced IRQ 339 wake disable
    > ...
    >
    > This patch adds a irq_set_wake() handler to the mfd/asic3 driver.
    >
    > Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
    > Cc: Philipp Zabel <philipp.zabel@gmail.com>
    > ---
    >
    > V2:
    > This patch now adds asic3_gpio_irq_set_wake() to mfd/asic3 instead of
    > disabling the 3 ASIC3 GPIO buttons as wakeup sources in pxa/hx4700.
    > This patch now submitted to linux-kernel instead of linux-arm-kernel.
    > Rebased from linux-2.6.39-rc6 to linux-3.4-rc2.
    Thanks, patch applied as well.

    Cheers,
    Samuel.

    --
    Intel Open Source Technology Centre
    http://oss.intel.com/


    \
     
     \ /
      Last update: 2012-04-16 18:33    [W:3.216 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site