linux/drivers/media/platform/mtk-vcodec
Dafna Hirschfeld 065a7c66bd media: mtk-vcodec: venc: fix return value when start_streaming fails
In case vb2ops_venc_start_streaming fails, the error value
is overwritten by the ret value of pm_runtime_put which might
be 0. Fix it.

Fixes: 985c73693f (" media: mtk-vcodec: Separating mtk encoder driver")
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:07:53 +02:00
..
vdec media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
venc media: mtk-vcodec: Support MT8192 H264 4K encoding 2021-06-17 10:12:41 +02:00
Makefile media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec_drv.c media: mtk-vcodec: fix warnings: symbol XXX was not declared 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec_pm.c media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_pm.h media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_stateful.c media: mtk-vcodec: vdec: handle firmware version field 2021-09-30 10:07:41 +02:00
mtk_vcodec_dec_stateless.c media: mtk-vcodec: vdec: support stateless API 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec.c media: mtk-vcodec: vdec: support stateless API 2021-09-30 10:07:42 +02:00
mtk_vcodec_dec.h media: mtk-vcodec: fix warnings: symbol XXX was not declared 2021-09-30 10:07:42 +02:00
mtk_vcodec_drv.h media: mtk-vcodec: vdec: add media device if using stateless api 2021-09-30 10:07:42 +02:00
mtk_vcodec_enc_drv.c media: mtk-vcodec: venc: support START and STOP commands 2021-09-30 10:07:41 +02:00
mtk_vcodec_enc_pm.c media: mtk-vcodec: Separating mtk encoder driver 2021-04-06 16:06:52 +02:00
mtk_vcodec_enc_pm.h
mtk_vcodec_enc.c media: mtk-vcodec: venc: fix return value when start_streaming fails 2021-09-30 10:07:53 +02:00
mtk_vcodec_enc.h
mtk_vcodec_fw_priv.h
mtk_vcodec_fw_scp.c
mtk_vcodec_fw_vpu.c
mtk_vcodec_fw.c
mtk_vcodec_fw.h
mtk_vcodec_intr.c media: mtk-vcodec: Fix order of log arguments 2021-01-27 13:11:25 +01:00
mtk_vcodec_intr.h
mtk_vcodec_util.c
mtk_vcodec_util.h
vdec_drv_base.h
vdec_drv_if.c media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
vdec_drv_if.h media: mtk-vcodec: vdec: support stateless H.264 decoding 2021-09-30 10:07:42 +02:00
vdec_ipi_msg.h media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
vdec_vpu_if.c media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
vdec_vpu_if.h media: mtk-vcodec: support version 2 of decoder firmware ABI 2021-09-30 10:07:41 +02:00
venc_drv_base.h
venc_drv_if.c
venc_drv_if.h
venc_ipi_msg.h media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
venc_vpu_if.c
venc_vpu_if.h