Skip to content
Commit 747bad54 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: s5p_cec: decrement usage count if disabled



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: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: 1bcbf6f4 ("[media] cec: s5p-cec: Add s5p-cec driver")
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4cba5473
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment