The pm_runtime_get_sync() internally increments the
dev->power.usage_count without decrementing it, even on errors.
Replace it by the new pm_runtime_resume_and_get(), introduced by:
commit
|
||
|---|---|---|
| .. | ||
| core | ||
| i2c | ||
| platform | ||
| usb | ||
| Kconfig | ||
| Makefile | ||