Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Linus Walleij and committed by
Samuel Ortiz
57265bc1 e62ccf3a

+3 -3
+3 -3
drivers/mfd/db8500-prcmu.c
··· 1763 1763 1764 1764 if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work, 1765 1765 msecs_to_jiffies(5000))) { 1766 - panic("prcmu: %s timed out (5 s) waiting for a reply.\n", 1766 + pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n", 1767 1767 __func__); 1768 1768 goto unlock_and_return; 1769 1769 } ··· 1785 1785 if (wait_for_completion_timeout(&mb0_transfer.ac_wake_work, 1786 1786 msecs_to_jiffies(5000))) 1787 1787 goto retry; 1788 - panic("prcmu: %s timed out (5 s) waiting for AC_SLEEP_ACK.\n", 1788 + pr_crit("prcmu: %s timed out (5 s) waiting for AC_SLEEP_ACK.\n", 1789 1789 __func__); 1790 1790 } 1791 1791 ··· 1811 1811 1812 1812 if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work, 1813 1813 msecs_to_jiffies(5000))) { 1814 - panic("prcmu: %s timed out (5 s) waiting for a reply.\n", 1814 + pr_crit("prcmu: %s timed out (5 s) waiting for a reply.\n", 1815 1815 __func__); 1816 1816 } 1817 1817