linux/drivers/media/cec/platform
Mauro Carvalho Chehab 6efd8921eb media: s5p_cec: decrement usage count if disabled
[ Upstream commit 747bad54a6 ]

There's a bug at s5p_cec_adap_enable(): if called to
disable the device, it should call pm_runtime_put()
instead of pm_runtime_disable(), as the goal here is to
decrement the usage_count and not to disable PM runtime.

Reported-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: 1bcbf6f4b6 ("[media] cec: s5p-cec: Add s5p-cec driver")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:02 +02:00
..
cec-gpio media: cec-gpio: handle gpiod_get_value errors correctly 2020-04-29 12:04:38 +02:00
cros-ec media: cros-ec-cec: do not bail on device_init_wakeup failure 2020-07-04 12:45:45 +02:00
meson
s5p media: s5p_cec: decrement usage count if disabled 2021-07-14 16:56:02 +02:00
seco media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
sti
stm32
tegra
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile media: cec: add stm32 driver 2021-02-03 23:28:37 +01:00