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: Shrey Vijay <shreyv@codeaurora.org> |
||
---|---|---|
.. | ||
algos | ||
busses | ||
muxes | ||
i2c-boardinfo.c | ||
i2c-core.c | ||
i2c-core.h | ||
i2c-dev.c | ||
i2c-mux.c | ||
i2c-slave-eeprom.c | ||
i2c-smbus.c | ||
i2c-stub.c | ||
Kconfig | ||
Makefile |