da3a1858c3
The pm_runtime_get_sync() internally increments the dev->power.usage_count without decrementing it, even on errors. There is a bug at ccs_pm_get_init(): when this function returns an error, the stream is not started, and RPM usage_count should not be incremented. However, if the calls to v4l2_ctrl_handler_setup() return errors, it will be kept incremented. At ccs_suspend() the best is to replace it by the new pm_runtime_resume_and_get(), introduced by: commit |
||
---|---|---|
.. | ||
ccs-core.c | ||
ccs-data-defs.h | ||
ccs-data.c | ||
ccs-data.h | ||
ccs-limits.c | ||
ccs-limits.h | ||
ccs-quirk.c | ||
ccs-quirk.h | ||
ccs-reg-access.c | ||
ccs-reg-access.h | ||
ccs-regs.h | ||
ccs.h | ||
Kconfig | ||
Makefile | ||
smiapp-reg-defs.h |