Commit 7673b85
media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
commit 2a20869 upstream.
It is not valid to call pm_runtime_set_suspended() for devices
with runtime PM enabled because it returns -EAGAIN if it is enabled
already and working. So, call pm_runtime_disable() before to fix it.
Cc: [email protected]
Fixes: af2c383 ("[media] media: venus: adding core part and helper functions")
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Acked-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent dc3415f commit 7673b85
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | 408 | | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
0 commit comments