i2c-msm-geni: Register suspend_late instead of suspend_noirq
While executing suspend_noirq callbacks non-wakeup interrupts are
disabled, wake-up interrupts are enabled but their handling is
deferred till the completion of suspend_noirq stage.
GENI I2C unvote the resources in the suspend_noirq stage.
There is no issue wrt managing clk and pinctrl resources at
noirq stage however ICC BW voting can't be done at noirq stage.
ICC requests are converted to ack based requested for RPM driver, the
ack here is nothing but interrupt from IPCC driver and it can't be
processed at noirq stage, hence flow is indefinitely stuck in I2C
suspend_noirq callback.
This is for platforms using IPCC driver and also it is no harm in
making this change applicable to all platforms.
Change-Id: I9bf95e1dd990acb6ccc96e5a0ed9850de466a598
Signed-off-by:
Akash Asthana <akashast@codeaurora.org>
Loading
Please register or sign in to comment