The problem is that pm_runtime_get_sync() can return 1 on success so
checking for zero doesn't work. Use the pm_runtime_resume_and_get()
function instead. The pm_runtime_resume_and_get() function does
additional cleanup as well so that's a bonus as well.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| rocket_core.c | ||
| rocket_core.h | ||
| rocket_device.c | ||
| rocket_device.h | ||
| rocket_drv.c | ||
| rocket_drv.h | ||
| rocket_gem.c | ||
| rocket_gem.h | ||
| rocket_job.c | ||
| rocket_job.h | ||
| rocket_registers.h | ||