i2c-msm-v2: Fix for unhandle IRQ
I2C msm v2 driver handle scenario where runtime PM is not enabled and enables clocks explicitly. I2C qup driver handle scenario where runtime PM is not enabled and enables clocks explicitly. But it checks runtime PM suspended state in ISR routine before processing further which can lead to issue of unhandled valid IRQ sometimes because I2C client can initiate transaction very early after system resume and runtime PM is not enabled. Add atomic flag to synchronize between active transaction request when clocks are enabled and ISR. CRs-Fixed: 671063 Change-Id: Ic57afe0cfb0815746d9590157fbdde6ea53b9c18 Signed-off-by:Sana Venkat Raju <c_vsana@codeaurora.org> Signed-off-by:
Alok Chauhan <alokc@codeaurora.org>
Loading
Please register or sign in to comment