Permalink
Browse files

mailbox: add IRQF_NO_SUSPEND flag

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>
  • Loading branch information...
1 parent 569b1c9 commit 8daddb51854c9600c2c46427758214c5e5d8fc6e @ydrallap ydrallap committed with Jan 31, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 drivers/mailbox/mailbox.c
@@ -310,7 +310,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",

0 comments on commit 8daddb5

Please sign in to comment.