Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2ccc174 authored by Shrey Vijay's avatar Shrey Vijay Committed by Gerrit - the friendly Code Review server
Browse files

i2c-msm-v2:Synchronise runtime PM callback operations



During system wakeup from suspend by connecting USB cable,
runtime PM framework transitions from enabled to disabled
state during i2c transaction. This causes asymmetric increment
and decrement of device's usage counter which blocks runtime
PM suspend callback.

To avoid this, remove rumtime PM status check on suspend path
to make it symmetric with the resume path. This takes care
of unaccounted increment/decrement of device's usage counter.

Change-Id: I47cfe2cd7d93ba5db57365cf250c600dac22bab1
Signed-off-by: default avatarShrey Vijay <shreyv@codeaurora.org>
parent c1b67407
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment