提交 57265bc1 编写于 作者: L Linus Walleij 提交者: Samuel Ortiz

mfd: Convert db8500-prcmu panic() into pr_crit()

panic() is too heavy for this, indeed the PRCMU is critical for
the system but not to the point that we should stop everything,
if we can still get a prompt or so.
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 e62ccf3a
......@@ -1763,7 +1763,7 @@ void prcmu_ac_wake_req(void)
if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
msecs_to_jiffies(5000))) {
panic("prcmu: %s timed out (5 s) waiting for a reply.\n",
pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n",
__func__);
goto unlock_and_return;
}
......@@ -1785,7 +1785,7 @@ void prcmu_ac_wake_req(void)
if (wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
msecs_to_jiffies(5000)))
goto retry;
panic("prcmu: %s timed out (5 s) waiting for AC_SLEEP_ACK.\n",
pr_crit("prcmu: %s timed out (5 s) waiting for AC_SLEEP_ACK.\n",
__func__);
}
......@@ -1811,7 +1811,7 @@ void prcmu_ac_sleep_req()
if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
msecs_to_jiffies(5000))) {
panic("prcmu: %s timed out (5 s) waiting for a reply.\n",
pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n",
__func__);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册