Files
linux/drivers/staging/media
Mauro Carvalho Chehab f053566284 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>
2023-05-16 11:23:32 +09:00
..
2016-09-19 12:48:34 -03:00
2016-09-19 12:48:34 -03:00
2016-09-19 12:48:34 -03:00