kernel_samsung_a53x/drivers/media/platform
Jinjie Ruan 1b4a4dc666 media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
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>
2024-12-17 13:20:50 +01:00
..
am437x
atmel
cadence
coda
davinci
exynos
exynos-gsc
exynos4-is
marvell-ccic
mtk-jpeg
mtk-mdp
mtk-vcodec
mtk-vpu
omap
omap3isp
qcom media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled 2024-12-17 13:20:50 +01:00
rcar-vin
rockchip/rga
s3c-camif
s5p-g2d
s5p-jpeg media: s5p-jpeg: prevent buffer overflows 2024-11-30 02:33:23 +01:00
s5p-mfc
sti
stm32
sunxi Revert "media: sun4i_csi: Implement link validate for sun4i_csi subdev" 2024-11-24 00:23:02 +01:00
ti-vpe
vsp1
xilinx
aspeed-video.c
fsl-viu.c
imx-pxp.c
imx-pxp.h
Kconfig
m2m-deinterlace.c
Makefile
mx2_emmaprp.c
pxa_camera.c
rcar-fcp.c
rcar_drif.c
rcar_fdp1.c
rcar_jpu.c
renesas-ceu.c
sh_vou.c
via-camera.c
via-camera.h
video-mux.c