On Wed, Jun 19, 2013 at 10:44:37AM +0300, Mika Westerberg wrote: > I agree that it is better handled outside of the driver (or provide some > API for drivers). One thing that immediately came to mind is > adding pm_runtime_suspending() that could be used here like:
> ssp_int()
> {
> if (pm_runtime_suspending(dev) || pm_runtime_suspending(dev))
> return IRQ_NONE;
> ...
> or something like that?
Yes, something like that (probably include the suspended state in the
suspending check).
signature.asc
Description: Digital signature

