linux/drivers/media/platform/qcom/camss
Qiushi Wu d0675b67b4 media: camss: Fix a reference count leak.
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code, causing incorrect ref count if
PM runtime put is not called in error handling paths.
Thus call pm_runtime_put_sync() if pm_runtime_get_sync() fails.

Fixes: 02afa816db ("media: camss: Add basic runtime PM support")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-27 10:53:11 +02:00
..
camss-csid.c media: camss: use proper media entity function for subdevices 2020-07-04 11:55:23 +02:00
camss-csid.h
camss-csiphy-2ph-1-0.c
camss-csiphy-3ph-1-0.c
camss-csiphy.c media: camss: Fix a reference count leak. 2020-09-27 10:53:11 +02:00
camss-csiphy.h
camss-ispif.c media: camss: use proper media entity function for subdevices 2020-07-04 11:55:23 +02:00
camss-ispif.h
camss-vfe-4-1.c
camss-vfe-4-7.c
camss-vfe.c media: qcom/camss: use vb2_video_unregister_device() 2020-08-28 14:59:50 +02:00
camss-vfe.h media: qcom/camss: use vb2_video_unregister_device() 2020-08-28 14:59:50 +02:00
camss-video.c media: camss: __video_try_fmt(): don't use hardcoded constants 2020-08-29 08:18:30 +02:00
camss-video.h media: qcom/camss: use vb2_video_unregister_device() 2020-08-28 14:59:50 +02:00
camss.c media: qcom/camss: use vb2_video_unregister_device() 2020-08-28 14:59:50 +02:00
camss.h
Makefile