linux/drivers/media
Dinghao Liu bbe516e976 media: venus: core: Fix runtime PM imbalance in venus_probe
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced. For other error
paths after this call, things are the same.

Fix this by adding pm_runtime_put_noidle() after 'err_runtime_disable'
label. But in this case, the error path after pm_runtime_put_sync()
will decrease PM usage counter twice. Thus add an extra
pm_runtime_get_noresume() in this path to balance PM counter.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-18 15:54:38 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
common media: videobuf2: Print videobuf2 buffer state by name 2020-07-19 14:25:36 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: i2c: adv748x: Implement get_mbus_config 2020-08-18 15:52:34 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci pci-v5.9-changes 2020-08-07 18:48:15 -07:00
platform media: venus: core: Fix runtime PM imbalance in venus_probe 2020-08-18 15:54:38 +02:00
radio media: radio: remove redundant assignment to variable retval 2020-08-06 11:28:21 +02:00
rc media: imon: Replace http links with https ones 2020-07-19 14:00:32 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vimc: Add a control to display info on test image 2020-07-19 13:39:22 +02:00
tuners treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
usb media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
v4l2-core media: v4l2-subdev: Introduce [get|set]_mbus_config pad ops 2020-08-18 15:34:22 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00