Re: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Mark Brown
On Wed, Apr 10, 2013 at 12:46:55PM +, Liu, Chuansheng wrote: > Hi Mark, > > > Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, > > > we can disable the arizona irq, and enable it until devices resuming > > > finished. > > Hrm, well - actually the primary IRQ probably

RE: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Liu, Chuansheng
Re: mfd, arizona: Fix the deadlock between interrupt handler and > dpm_suspend > > On Wed, Apr 10, 2013 at 08:39:09PM +0800, Chuansheng Liu wrote: > > > Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, > > we can disable the arizona irq, and e

Re: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Mark Brown
On Wed, Apr 10, 2013 at 08:39:09PM +0800, Chuansheng Liu wrote: > Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, > we can disable the arizona irq, and enable it until devices resuming finished. Hrm, well - actually the primary IRQ probably ought to be a nosuspend in the

Re: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Mark Brown
On Wed, Apr 10, 2013 at 08:39:09PM +0800, Chuansheng Liu wrote: Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, we can disable the arizona irq, and enable it until devices resuming finished. Hrm, well - actually the primary IRQ probably ought to be a nosuspend in the

RE: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Liu, Chuansheng
the deadlock between interrupt handler and dpm_suspend On Wed, Apr 10, 2013 at 08:39:09PM +0800, Chuansheng Liu wrote: Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, we can disable the arizona irq, and enable it until devices resuming finished. Hrm, well - actually

Re: mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-10 Thread Mark Brown
On Wed, Apr 10, 2013 at 12:46:55PM +, Liu, Chuansheng wrote: Hi Mark, Here the arizona irq is not NOSUSPEND irq, so when doing device suspend, we can disable the arizona irq, and enable it until devices resuming finished. Hrm, well - actually the primary IRQ probably ought to be

mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-09 Thread Chuansheng Liu
When system try to do the suspend: T1:suspend_thread T2: interrupt thread handler enter_state() arizona_irq_thread() suspend_devices_and_enter()regmap_read() __device_suspend()

mfd, arizona: Fix the deadlock between interrupt handler and dpm_suspend

2013-04-09 Thread Chuansheng Liu
When system try to do the suspend: T1:suspend_thread T2: interrupt thread handler enter_state() arizona_irq_thread() suspend_devices_and_enter()regmap_read() __device_suspend()