soc: qcom: aoss: Use wake_up_all() instead of wake_up_interruptible_all()
authorArun Kumar Neelakantam <aneela@codeaurora.org>
Wed, 22 Jan 2020 08:23:37 +0000 (13:53 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 14 Feb 2020 05:18:14 +0000 (21:18 -0800)
During the probe the task is waiting in TASK_UNINTERRUPTIBLE state which
cannot be woken-up by wake_up_interruptible_all() function.

Use wake_up_all() to wake-up both TASK_UNINTERRUPTIBLE and
TASK_INTERRUPTIBLE state tasks.

Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
Link: https://lore.kernel.org/r/1579681417-1155-1-git-send-email-aneela@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/qcom_aoss.c

index 006ac40..fe79661 100644 (file)
@@ -200,7 +200,7 @@ static irqreturn_t qmp_intr(int irq, void *data)
 {
        struct qmp *qmp = data;
 
-       wake_up_interruptible_all(&qmp->event);
+       wake_up_all(&qmp->event);
 
        return IRQ_HANDLED;
 }