1b4a4dc666
commit 2a20869f7d798aa2b69e45b863eaf1b1ecf98278 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: stable@vger.kernel.org Fixes: af2c3834c8ca ("[media] media: venus: adding core part and helper functions") Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Acked-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
dbgfs.c | ||
dbgfs.h | ||
firmware.c | ||
firmware.h | ||
helpers.c | ||
helpers.h | ||
hfi.c | ||
hfi.h | ||
hfi_cmds.c | ||
hfi_cmds.h | ||
hfi_helper.h | ||
hfi_msgs.c | ||
hfi_msgs.h | ||
hfi_parser.c | ||
hfi_parser.h | ||
hfi_venus.c | ||
hfi_venus.h | ||
hfi_venus_io.h | ||
Makefile | ||
pm_helpers.c | ||
pm_helpers.h | ||
vdec.c | ||
vdec.h | ||
vdec_ctrls.c | ||
venc.c | ||
venc.h | ||
venc_ctrls.c |