linux-next/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 media: platform: amphion: Fix build error without MAILBOX 2022-03-18 06:03:40 +01:00
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 media: amphion: remove mutext lock in condition of wait_event 2023-12-13 11:04:45 +01:00
vpu_cmds.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_codec.h media: amphion: decoder implement display delay enable 2023-03-19 22:54:56 +01:00
vpu_color.c media: amphion: correct the unspecified color space 2023-02-08 07:32:31 +01:00
vpu_core.c media: Switch back to struct platform_driver::remove() 2024-10-12 16:28:25 +02:00
vpu_core.h media: amphion: fix a bug that vpu core may not resume after suspend 2022-08-30 15:27:51 +02:00
vpu_dbg.c media: amphion: Stop direct calls to queue num_buffers field 2023-11-23 11:58:27 +01:00
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 media: amphion: handle firmware debug message 2023-10-07 10:55:44 +02:00
vpu_helpers.h media: amphion: tell and handle contiguous and non contiguous format 2022-11-25 11:02:35 +00:00
vpu_imx8q.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.c media: amphion: remove unused struct 'vpu_malone_frame_buffer' 2024-05-31 13:51:17 +02:00
vpu_malone.h media: amphion: support to decode RealVideo video 2023-04-10 14:09:35 +01:00
vpu_mbox.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_mbox.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_msgs.c media: amphion: handle firmware debug message 2023-10-07 10:55:44 +02:00
vpu_msgs.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_rpc.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
vpu_rpc.h media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
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 media: amphion: implement windsor encoder rpc interface 2022-03-07 17:13:33 +01:00
vpu.h media: amphion: Report the average QP of current encoded frame 2024-06-10 10:24:30 +02:00