Re: [PATCH] spi/pxa2xx: check status register as well to determine if the device is off

2013-09-04 Thread Mark Brown
On Wed, Sep 04, 2013 at 01:37:43PM +0300, Mika Westerberg wrote: > The current interrupt handler calls pm_runtime_suspended() to check if the > device is suspended or not. However, runtime PM status of the device is > only set to suspended once all PM runtime suspend hooks have executed. Applied,

[PATCH] spi/pxa2xx: check status register as well to determine if the device is off

2013-09-04 Thread Mika Westerberg
The current interrupt handler calls pm_runtime_suspended() to check if the device is suspended or not. However, runtime PM status of the device is only set to suspended once all PM runtime suspend hooks have executed. In case of Intel Lynxpoint we have the device bound to the ACPI power domain and