]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mailbox: add IRQF_NO_SUSPEND flag
authorLoic Pallardy <loic.pallardy@st.com>
Thu, 31 Jan 2013 16:55:30 +0000 (17:55 +0100)
committerSuman Anna <s-anna@ti.com>
Thu, 14 Mar 2013 18:08:35 +0000 (13:08 -0500)
Coprocessor must be accessible during suspend transitions.

Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/mailbox/mailbox.c

index 08da5b0efae1c0a4f268cebc25f51fdfd3cad75e..35813f5f2d6ababaa92154525328042379b4d325 100644 (file)
@@ -311,7 +311,8 @@ static int mailbox_startup(struct mailbox *mbox)
        }
 
        if (!mbox->use_count++) {
-               ret = request_irq(mbox->irq, mbox_interrupt, IRQF_SHARED,
+               ret = request_irq(mbox->irq, mbox_interrupt,
+                               IRQF_SHARED | IRQF_NO_SUSPEND,
                                mbox->name, mbox);
                if (unlikely(ret)) {
                        pr_err("failed to register mailbox interrupt:%d\n",