]> git.baikalelectronics.ru Git - kernel.git/commit
media: s5k6a3: add missing clk_disable_unprepare
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 2 May 2022 07:18:54 +0000 (09:18 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:22 +0000 (11:02 +0200)
commitbb95d8eeffeb6f550ae769035f2f96bf4f8063c0
tree094d594c69aecc6e063cc1447e7fe2f11dd4bdfe
parent35570c032e44d369287b58645f6a347b7917ae78
media: s5k6a3: add missing clk_disable_unprepare

Fix smatch warning:

drivers/media/i2c/s5k6a3.c:234 __s5k6a3_power_on() warn: 'sensor->clock' from clk_prepare_enable() not released on lines: 234.

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/s5k6a3.c