linux-yocto/drivers/media/platform/amphion
Jinjie Ruan 316e74500d media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled
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: b50a64fc54 ("media: amphion: add amphion vpu device driver")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2024-11-07 09:05:57 +01:00
..
Kconfig
Makefile
vdec.c media: amphion: Remove lock in s_ctrl callback 2024-06-10 10:24:30 +02:00
venc.c media: amphion: Guard memory allocation to catch failures 2024-10-12 16:28:24 +02:00
vpu_cmds.c
vpu_cmds.h
vpu_codec.h
vpu_color.c
vpu_core.c media: Switch back to struct platform_driver::remove() 2024-10-12 16:28:25 +02:00
vpu_core.h
vpu_dbg.c
vpu_defs.h media: amphion: Report the average QP of current encoded frame 2024-06-10 10:24:30 +02:00
vpu_drv.c media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled 2024-11-07 09:05:57 +01:00
vpu_helpers.c
vpu_helpers.h
vpu_imx8q.c
vpu_imx8q.h
vpu_malone.c
vpu_malone.h
vpu_mbox.c
vpu_mbox.h
vpu_msgs.c
vpu_msgs.h
vpu_rpc.c
vpu_rpc.h
vpu_v4l2.c media: platform: drop vb2_ops_wait_prepare/finish 2024-10-28 09:20:07 +01:00
vpu_v4l2.h media: amphion: Report the average QP of current encoded frame 2024-06-10 10:24:30 +02:00
vpu_windsor.c media: amphion: Report the average QP of current encoded frame 2024-06-10 10:24:30 +02:00
vpu_windsor.h
vpu.h media: amphion: Report the average QP of current encoded frame 2024-06-10 10:24:30 +02:00