aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2021-04-28 07:38:56 +0000
committerMauro Carvalho Chehab <[email protected]>2021-05-10 09:36:33 +0000
commit747bad54a677d8633ec14b39dfbeb859c821d7f2 (patch)
treee1ace1c22fa2cfcbf052baaad47f5ac48980671f /drivers/media/i2c/ccs/ccs-core.c
parentmedia: venus: Rework error fail recover logic (diff)
downloadkernel-747bad54a677d8633ec14b39dfbeb859c821d7f2.tar.gz
kernel-747bad54a677d8633ec14b39dfbeb859c821d7f2.zip
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: Sylwester Nawrocki <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Fixes: 1bcbf6f4b6b0 ("[media] cec: s5p-cec: Add s5p-cec driver") Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions