Files
erofs-linux/drivers/accel/rocket
Dan Carpenter 09e6d39cc8 accel/rocket: Fix some error checking in rocket_core_init()
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: 0810d5ad88 ("accel/rocket: Add job submission IOCTL")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2025-09-01 12:11:28 +02:00
..