]> git.baikalelectronics.ru Git - kernel.git/commit
media: ccs-core.c: fix failure to call clk_disable_unprepare
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 2 May 2022 07:17:46 +0000 (09:17 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000 (11:02 +0200)
commit35570c032e44d369287b58645f6a347b7917ae78
tree72bfaa85e3e2624c310b93ebd06332456c6de5a0
parent7936773d0a97d8714072732e8968e108e115aee6
media: ccs-core.c: fix failure to call clk_disable_unprepare

Fixes smatch warning:

drivers/media/i2c/ccs/ccs-core.c:1676 ccs_power_on() warn: 'sensor->ext_clk' from clk_prepare_enable() not released on lines: 1606.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ccs/ccs-core.c