linux/drivers/staging/media
Zhang Qilong a3307503af media: cedrus: fix reference leak in cedrus_start_streaming
[ Upstream commit 940727bf22 ]

pm_runtime_get_sync will increment pm usage counter even it
failed. Forgetting to pm_runtime_put_noidle will result in
reference leak in cedrus_start_streaming. We should fix it.

Fixes: d5aecd289b ("media: cedrus: Implement runtime PM")
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2020-12-30 11:53:12 +01:00
..
allegro-dvt media: allegro: fix potential null dereference on header 2020-08-06 11:28:04 +02:00
atomisp pci-v5.10-changes 2020-10-22 12:41:00 -07:00
hantro Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
imx Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
ipu3 media: ipu3-imgu: Fixed some coding style issues in ipu3-css.c 2020-09-22 10:09:27 +02:00
meson/vdec media: staging/media: drop vb2_queue_release() 2020-08-28 15:06:17 +02:00
omap4iss media: omap: Replace HTTP links with HTTPS ones 2020-09-01 14:13:27 +02:00
rkisp1 media: staging: rkisp1: cap: fix runtime PM imbalance on error 2020-12-30 11:53:11 +01:00
rkvdec media: rkvdec: Use H264_SCALING_MATRIX only when required 2020-09-01 14:13:29 +02:00
sunxi media: cedrus: fix reference leak in cedrus_start_streaming 2020-12-30 11:53:12 +01:00
tegra-vde Staging / IIO driver updates for 5.10-rc1 2020-10-15 09:46:23 -07:00
tegra-video media: tegra-video: Fix compilation warning of unused variable 2020-09-26 10:24:29 +02:00
zoran media: zoran.rst: place it at the right place this time 2020-10-04 17:48:38 +02:00
Kconfig USB/PHY/Thunderbolt driver patches for 5.10-rc1 2020-10-15 09:51:18 -07:00
Makefile USB/PHY/Thunderbolt driver patches for 5.10-rc1 2020-10-15 09:51:18 -07:00