Re: [PATCH 09/23] mfd/db8500-prcmu: tweak for modem wakeup

From: Samuel Ortiz
Date: Mon Oct 10 2011 - 06:28:13 EST


Hi Linus,

On Mon, Oct 03, 2011 at 05:52:07PM +0200, Samuel Ortiz wrote:
> Hi Linus,
>
> On Fri, Aug 12, 2011 at 10:28:43AM +0200, Linus Walleij wrote:
> > @@ -1754,11 +1755,34 @@ void prcmu_ac_wake_req(void)
> >
> > atomic_set(&ac_wake_req_state, 1);
> >
> > +retry:
> > writel((val | PRCM_HOSTACCESS_REQ_HOSTACCESS_REQ), PRCM_HOSTACCESS_REQ);
> >
> > if (!wait_for_completion_timeout(&mb0_transfer.ac_wake_work,
> > - msecs_to_jiffies(20000))) {
> > - pr_err("prcmu: %s timed out (20 s) waiting for a reply.\n",
> > + msecs_to_jiffies(5000))) {
> > + panic("prcmu: %s timed out (5 s) waiting for a reply.\n",
> > + __func__);
> panic(), really ?
What about this one. Do we really want to panic here ?

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/